Witscale Test Center

Chapter summary


Chapter summary

In this chapter, we overviewed important basics of the Java programming. You learned about how to write a simple class with its member methods and variables.  We also dug into the details about the superclass of a class, the interfaces it implements and the semantics behind it. We also learned how Java packages help in organizing Java classes.

We know now that the Java applications can have various packages with multiple class and interface declarations. The class itself is composed of member variables and member methods. Additionally it can contain local variables. You can create an object of a class using the new keyword. The Java objects are created on memory heap whereas the variables are created on stack. Armed with this basic knowledge we can now tread into the core details of Java programming language in part II.