Q) In which java oops feature one object can acquire all the properties and behaviours of the parent object?
- None of the above
Q) Java inheritance is used
- for code re-usability
- to achieve runtime polymorphism
- Both of the above
Q) The functionality of multiple inheritance can be implemented in Java by
I. Extending one class and implementing multiple interfaces.
II.Implementing multiple interfaces.
III.Extending multiple classes and interfaces.
IV. Extending multiple classes and one interface
- Only I
- Only III
- I & II
- II & III