Java/ J2EE, Oracle Adf Blog
Thursday, 12 February 2015
Sample Object creation
public class Student {
int id;
String name;
public static void main(String[] args) {
Student s=new Student();
System.out.println(s.id);
System.out.println(s.name);
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment