Inheritance 02 Flashcards

1
Q

Can a subclass stop methods from being inherited?

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the meaning of methods that are inherited, overridden or newly defined?

A

Overridden: Can extend or replace functionality

Inherited:Inheritance is a mechanism whereby a class can re-use the
properties and behaviour of another class.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly