Answered You can hire a professional tutor to get the answer.

QUESTION

When methods of superclasses are overwritten by subclasses Method overriding If part of the original method implementation from the superclass is

superclass, in the declaration of the subclass, use the keyword _______

extends

consider the example below: Public class Subclass _______ Superclass {}

extends

Are private instance variables of a superclass directly accessible to its subclasses?

No

Can subclasses directly invoke the public accessor and mutator methods of the superclass?

Yes

A method in a superclass is overriden in a subclass by defining a method with same _______

return type and signature (name and parameter types)

In object oriented programming __________ are never inherited

Constructors

A superclass must have a default, zero-parameter _______

Constructor

A subclass constructor can be implemented with a call to the _______

super method (super();)

If super is used in the implementation of a subclass constructor, it must be used in the _______ of the constructor body

first line

If no constructor is provided in the subclass, it calls the default constructor of the _______

superclass

The mechanism of selecting the appropriate method for a particular object in a class hierarchy

Polymorphism

A method that has been overridden in at least one subclass is said to be _______

polymorphic

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question