Q. What is the prototype of the default constructor?
public class Test { }
public class Test { }
β
Correct Answer: (D)
Test(void)
D.
public Test( )
Explanation: Option A and B are wrong because they use the default access modifier and the access modifier for the class is public (remember, the default constructor has the same access modifier as the class).