-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathArunBio.java
More file actions
42 lines (40 loc) · 1.42 KB
/
ArunBio.java
File metadata and controls
42 lines (40 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
public class ArunBio {
String fname = "Arun" ;
String lname = "A" ;
int age = 21 ;
String dob = "28-jun-2003" ;
String doorno = "448";
String Street = "Keela Street";
String nativ = "Thayilpatti" ;
String panchayat = "Sethu Ramalaingapuram";
int pincode = 626128;
String bloodGroup = "B Pasitive";
String UGDegree = "B.SC Computer Science";
public static void main(String[] args) {
ArunBio myObj = new ArunBio();
System.out.println("Name : " + myObj.fname +" "+ myObj.lname );
System.out.println("Age : " + myObj.age);
System.out.println("Date of Birth : " + myObj.dob);
System.out.println("Door No : " + myObj.doorno);
System.out.println("Street : " + myObj.Street);
System.out.println("Native : " + myObj.nativ );
System.out.println("Panchayat : " + myObj.panchayat);
System.out.println("Pincode : " + myObj.pincode);
System.out.println("Blood Group : " + myObj.bloodGroup);
System.out.println("UG Degree : " + myObj.UGDegree);
System.out.println("");
}
}
/*
OUTPUT:
Name : Arun A
Age : 21
Date of Birth : 28-jun-2003
Door No : 448
Street : Keela Street
Native : Thayilpatti
Panchayat : Sethu Ramalaingapuram
Pincode : 626128
Blood Group : B Pasitive
UG Degree : B.SC Computer Science
*/