1"use strict";(self.webpackChunkdocsv_2=self.webpackChunkdocsv_2||[]).push([[463],{2227:(t,e,n)=>{n.r(e),n.d(e,{assets:()=>u,contentTitle:()=>c,default:()=>p,frontMatter:()=>d,metadata:()=>r,toc:()=>l});const r=JSON.parse('{"id":"java/other/StudentCon","title":"Constuctor Student","description":"Student details uising constructors in Java","source":"@site/docs/three/java/other/StudentCon.mdx","sourceDirName":"java/other","slug":"/java/other/StudentCon","permalink":"/docs/three/java/other/StudentCon","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":5,"frontMatter":{"sidebar_position":5,"description":"Student details uising constructors in Java"},"sidebar":"tutorialSidebar","previous":{"title":"Constuctor Area","permalink":"/docs/three/java/other/RectCon"},"next":{"title":"Factorial","permalink":"/docs/three/java/other/Factorial"}}');var s=n(4848),a=n(8453),o=n(1432);const i='// WAP to create a class student and display the details of student using constructors\npublic class StudentC {\n StudentC(int roll, String name, String grade) {\n System.out.println("Roll no: " + roll);\n System.out.println("Name: " + name);\n System.out.println("Grade: " + grade);\n }\n public static void main(String[] args) {\n\n StudentC s = new StudentC(1, "Rahul", "A");\n }\n}',d={sidebar_position:5,description:"Student details uising constructors in Java"},c="Constuctor Student",u={},l=[{value:"CODE",id:"code",level:2}];function h(t){const e={h1:"h1",h2:"h2",header:"header",...(0,a.R)(),...t.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(e.header,{children:(0,s.jsx)(e.h1,{id:"constuctor-student",children:"Constuctor Student"})}),"\n",(0,s.jsx)(e.h2,{id:"code",children:"CODE"}),"\n",(0,s.jsx)(o.A,{language:"java",children:i})]})}function p(t={}){const{wrapper:e}={...(0,a.R)(),...t.components};return e?(0,s.jsx)(e,{...t,children:(0,s.jsx)(h,{...t})}):h(t)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.