Which of the following two is the default constructor of Java?
public Test() {
this.name = "";
this.credits = 0;
this.hours = 0;
}
public Test(String name, int credits, int hours) {
this.name = name;
this.credits = credits;
this.hours = hours;
}
Please explain the difference between them as well.