Abstract
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.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2006 Paul Sanghera, Ph.D.
About this chapter
Cite this chapter
(2006). Object-Oriented Programming. In: SCJP Exam for J2SE 5. Apress. https://doi.org/10.1007/978-1-4302-0173-1_5
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0173-1_5
Publisher Name: Apress
Print ISBN: 978-1-59059-697-5
Online ISBN: 978-1-4302-0173-1
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)