Static Modifier and Interfaces
n the previous chapters, you studied several important aspects of object-oriented programming. You learned to declare and use a class, extend its functionality with the help of inheritance, and so on. Java allows multiple levels in an inheritance hierarchy. You learned how the superclass objects are constructed when a subclass object is created. You also learned the use of the super keyword in calling the superclass methods and using superclass fields in subclasses. The access to the various members of a ...