Inheritance 04 Flashcards
1
Q
What are the implications of making a method final?
A
Making a method final means it cannot be overidden.
2
Q
What is the diamond problem that may arise if multiple inheritance were permitted.
A
Diamond problem is when it is ambiguous as to which parent class a particular feature is inherited from.