Multiple choice softskills creativity

Which of them are Not inheritable??

  1. constructor

  2. public instance variable

  3. protected members

  4. Primitive elements

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

Constructors are not inherited in Java - each class must have its own constructors. When a subclass is instantiated, it calls the superclass constructor (implicitly or explicitly via super()), but it does not inherit the constructor itself. Public instance variables, protected members, and primitive elements are all inherited by subclasses.