Inheritance/Interface Flashcards
1
Q
What is inheritance?
A
Define a class to hold properties/methods of another class.
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)
3
Q
Interface methods must be ______ and all of its data must be _______.
A
Abstract.
Static final variables.