Chapter 1

Understanding Object-Oriented Programming

IN THIS CHAPTER

check Looking at what object-oriented programming is

check Understanding objects and classes

check Investigating inheritance and interfaces

check Designing programs with objects

check Diagramming with UML

This chapter is a basic introduction to object-oriented programming. It introduces some of the basic concepts and terms you need to know as you get a handle on the specific details of how object-oriented programming works in Java.

tip If you’re more of a hands-on type, you may want to skip this chapter and go straight to Book 3, Chapter 2, where you find out how to create your own classes in Java. You can always return to this chapter later to review the basic concepts that drive object-oriented programming. Either way is okay by me. I get paid the same whether you read this chapter now or skip it and come back to it later.

What Is Object-Oriented ...

Get Java All-in-One For Dummies, 5th Edition 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.