Understanding Inheritance in Java
Q1. Which of these keywords can be used to prevent inheritance of a class?
Q2. Which of these is correct way of inheriting class A by class B?
Q3. Which of these keywords is used to refer to member of base class from a sub class?
Q4. Multiple inheritance means,
Q5. Does a subclass inherit both member variables and methods?