Please match the correct definition/term An informal term for inheritance A meth
ID: 3584953 • Letter: P
Question
Please match the correct definition/term An informal term for inheritance
A method that can change the state of an object
A relationship between classes in which every object of one class is also an object of the other class
A class that is inherited from by another class
The term used when a method in a subclass has the same header as a method in a superclass
In Java, if no superclass is provided explicitly, then a class inherits from this class
A class that inherits from another class
The Java keyword used to indicate that one class is a subclass of another class
An individual object that belongs to a class
accessor
behavior
class
constructor
extends
has-a relationship
inheritance
instance
is-a relationship
method
mutator
Object
Override
subclass
superclass
A method that can change the state of an object
A relationship between classes in which every object of one class is also an object of the other class
A class that is inherited from by another class
The term used when a method in a subclass has the same header as a method in a superclass
In Java, if no superclass is provided explicitly, then a class inherits from this class
A class that inherits from another class
The Java keyword used to indicate that one class is a subclass of another class
An individual object that belongs to a class
1.accessor
2.behavior
3.class
4.constructor
5.extends
6.has-a relationship
7.inheritance
8.instance
9.is-a relationship
10.method
11.mutator
12.Object
13.Override
14.subclass
15.superclass
Explanation / Answer
A method that can change the state of an object : mutator
A relationship between classes in which every object of one class is also an object of the other class : is-a relationship
A class that is inherited from by another class : subclass
The term used when a method in a subclass has the same header as a method in a superclass: Override
In Java, if no superclass is provided explicitly, then a class inherits from this class : Object
An individual object that belongs to a class: instance
The Java keyword used to indicate that one class is a subclass of another class : extends
Thanks, let me know if there is any concern.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.