Exercise Questions 2.25
4. Java was originally named as “OAK” by its inventors James Gosling and Patrik Naughton.
5. Extending/Deriving new classes from existing classes, containment through inner classes,
Extending through Inheritance mechanism.
6. Single, multi level , and hierarchical inheritance are allowed by Java . Java does not support
multiple inheritance.
7. A class with abstract method is called abstract class with keyword abstract. An abstract class
need not necessarily have abstract methods.
8. Interface is declared with keyword interface instead of usual keyword class. Interface can only
contain abstract methods. However, using keyword abstract for these methods is optional.
9. A class can extend to only one class but can implement ...