Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Each statement is true or false. 1. Constructors are not inherited. 2. In a subc

ID: 3559534 • Letter: E

Question

Each statement is true or false.

1. Constructors are not inherited.

2. In a subclass, a call to the superclass constructor can only be written in the subclass constructor.

3. If a subclass constructor does not specifically call a superclass constructor, Java will not call any of the subclass's constructors.

4. An object of a superclass can access members declared in a subclass.

5. The superclass constructor always executes before the subclass constructor.

6. When a method is declared with the final modifier, it must be overridden in a subclass.

7. A superclass has a member with package access. A class is outside the superclass's package but inherits from the superclass can access the member.

8. A superclass reference variable can reference an object of a subclass that extends the superclass.

9. A subclass reference variable can reference an object of the superclass.

10. When a class contains an abstract method, the class cannot be instantiated.

11. A class may only implement one interface.

12. By default all members of an interface are public.

Explanation / Answer

1) True

2) False

3) TRUE

4) True

5) False

6) False

7) True

8) False

9) False

10) True

11) True

12) True