Java Reference
In-Depth Information
In what order do the constructors for these classes complete their execution when a
Gamma object is instantiated?
6 . A superclass reference can refer to a subclass object. Explain why this is important as
it relates to method overriding.
7 . What is an abstract class?
8 . How do you prevent a method from being overridden? How do you prevent a class
from being inherited?
9 . Explain how inheritance, method overriding, and abstract classes are used to support
polymorphism.
10 . What class is a superclass of every other class?
11 . A class that contains at least one abstract method must, itself, be declared abstract.
True or False?
12 . What keyword is used to create a named constant?
Search WWH ::




Custom Search