Inheritance/Interface Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is inheritance?

A

Define a class to hold properties/methods of another class.

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

What is multiple inheritance?

A

Having a class inherit methods and properties from more than one class (inherits from superclass and derived class)

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

Interface methods must be ______ and all of its data must be _______.

A

Abstract.
Static final variables.

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