Chapter 5. An Overview of Object-Oriented Programming Concepts

Moving into the object-oriented programming world can be a bit confusing. You are suddenly faced with a number of unfamiliar terms and concepts. You hear talk about objects, inheritance, and polymorphism and wonder what these mysterious terms really mean. This chapter is meant to take some of the mystery out of some general (and important) object-oriented programming concepts. Once you finish this chapter you should be comfortable with the following object-oriented topics—

  • Objects

  • Classes

  • Encapsulation

  • Inheritance

  • Polymorphism

Objects

We have talked about Java being an object-oriented programming language. But what exactly is an object? To put it simply, an object is an abstraction that represents ...

Get Technical Java™: Developing Scientific and Engineering Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.