Chapter 1

Understanding Object-Oriented Programming

In This Chapter

arrow Looking at what object-oriented programming is

arrow Understanding objects and classes

arrow Investigating inheritance and interfaces

arrow Designing programs with objects

arrow 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.eps If you're more of a hands-on type, you may want to skip this chapter and go straight to Book III, 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, 4th 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.