Question OOP-INH-0054
MediumA parent class has only a constructor Parent(int x). A child class has a constructor that doesn't call super(...). What happens in Java?
- A.
The child cannot have constructors
- B.
Compilation error, because there is no no-argument parent constructor to call implicitly
- C.
Sign up free to see the answer and a step-by-step explanation.