2. Object-Oriented Programming Concepts
Chapter Contents
Questions and Exercises: Object-Oriented Programming Concepts
If you’ve never used an object-oriented programming language before, you’ll need to learn a few basic concepts before you can begin writing any code. This chapter will introduce you to objects, classes, inheritance, interfaces, and packages. Each section focuses on how these concepts relate to the real world while simultaneously providing an introduction to the syntax of the Java programming language.
The first section focuses on objects. An object is a software bundle of related state and behavior. Software objects are often used ...
Get The Java® Tutorial: A Short Course on the Basics, 6th 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.