Object-Oriented Programming


Java is an object-oriented language that adapts itself to the real-world problem being solved as opposed to a procedural language that adapts the problem to itself. In this chapter, we explore some features of Java that make it possible to adapt the programs to the problem rather than the other way around. The real world and its problems are composed of objects such as a room, a classroom, a cow, and the cow’s tail. The objects in the real world also have relationships among themselves; for example, the classroom is a room, and the cow has a tail. You will see in this chapter how Java supports these object-oriented relationships.


Object Reference Target Type Return Type Public Class Identical List 
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.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Paul Sanghera, Ph.D. 2006

Personalised recommendations