O'Reilly logo

Programming with Java by Sunil Patekar, Mahesh Bhave

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required