Question 1
Object-oriented programming allows you to derive new classes from existing classes. This is called ________.
◦ encapsulation
◦ inheritance
◦ generalization
◦ abstraction
Question 2
Which of the following statements are true?
◦ "class A extends B" means B is a subclass of A.
◦ "class A extends B" means A is a subclass of B.
◦ A subclass is usually extended to contain more functions and more detailed information than its superclass.
◦ A subclass is a subset of a superclass.