2. 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 ...