Class Person {
Person name;
Person age;
..
}
In this usage , what does it mean Person name and Person age. Of course name and age data type is Person but I cannot understand the concept how will I use in my program. For example if I Person data type replaced by String name and int age , I will use in main method like:
Person p1 = new Person();
p1.name = "blabla";
p1.age = 30;
But how will we use the Person data type like that. I have already searched on the Internet but I couldn't find anything about that.