CHAPTER 2
OBJECT ORIENTATION AN INTRODUCTION
Java is an object-oriented programming (OOP) language. In this chapter, we will make ourselves familiar with concepts of OOP. As we study Java, these concepts will be covered in depth gradually.
2.1 Programming Languages Before Object Orientation Became Popular
Before the concept of object orientation (OO) was introduced, the general purpose programming languages were procedure oriented. Emphasis was on functions to introduce modularity. Data was organized in terms of a unit called “record”. Records were supported by both COBOL and Pascal. They are renamed as structures in C.
However, programmers were not satisfied with what they had. Programs tended to be problem specific, and changing them was difficult. ...
Get Programming with Java 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.