Multiple choice technology programming languages

In Java the compiler will always insert a default , no argument constructor into any class definition

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The Java compiler only inserts a default, no-argument constructor if the class does not define any constructors. If any constructor is explicitly defined, the compiler does not insert one.