Question 26
What happens if a Java class defines no constructors explicitly?
Option A is correct. If no constructor is written, compiler adds a default public no-arg constructor. If any custom constructor is added, the compiler does not auto-generate the default no-arg constructor.