It talks first about constructors, then about member variables and methods. This section tells you what you need to know to manage inheritance up and down from your classes. First, it describes generally what a subclass gets from its ancestors and specifically what every class gets from the Object class. Second, it discusses how to control whether your class can be subclassed and whether its subclasses can override its methods. Implementing Nested Classes The Java programming language lets you define a class, called a nested class , within another class.
Inner Classes are a special type of nested class.