Advertisement

Guide to Java pp 143-184 | Cite as

Objects: Revisited

  • James T. Streib
  • Takako Soma
Chapter
Part of the Undergraduate Topics in Computer Science book series (UTICS)

Abstract

Objects are revisited in this chapter. The sending and returning an object to and from a method is illustrated using contours. Overloaded constructors and methods are discussed and the reserved word this is introduced. Local, instance, and class constants and variables along with class methods are shown using contour diagrams. Two complete programs, one with focus on overloaded methods and another with class data members and methods are included.

Keywords

Class Variable Main Program Instance Variable Complete Program Contour Diagram 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Springer-Verlag London 2014

Authors and Affiliations

  • James T. Streib
    • 1
  • Takako Soma
    • 1
  1. 1.Department of Computer ScienceIllinois CollegeJacksonvilleUSA

Personalised recommendations