Professional Documents
Culture Documents
public Student() {
age = 0;
this.name = name;
this.age = age;
// Overloaded constructor
this.name = name;
student1.studentInfo();
// Instantiate an object using the original constructor
student2.studentInfo();