Creating objects for class - Java Quiz Question


What will be the output of the following program?


A
5
B
Compile time Error since no default constructor
C
Compile time Error since no parameterized constructor
D
Compilation Error or Runtime Error for some other reason