Java Reference Index


  1. Introduction
  2. Data Types
  3. Arrays
  4. Operators
  5. Program Control
  6. Classes
  7. Objects
  8. Interfaces
  9. Containers
  10. Class Structure
  11. Error Handling

    Program Types

  12. Applications
  13. Applets

    How To

  14. Type Conversions

    Packages

  15. java.lang.reflect
  16. java.applet
  17. java.awt
  18. java.beans
  19. java.io
  20. java.lang
  21. java.math
  22. java.net
  23. java.rm
  24. java.security
  25. java.sa
  26. java.text
  27. java.util
  28. java.servlet

    Classes

  29. Object Class

    Appendices

  30. Terms
  31. Credits

Class Structure

The Object class is at the top of the Java class hierarchy. If a class does not use the "extends" keyword to declare a parent class, the superclass by default will be the "Object" class. Superclass private members are not inherited by subclasses while public and protected members are inherited. If access (such as public or private) is not specified, the subclass will inherit the members if it is a part of the same package as its superclass.