NCERT Computer: Chapter 8 – General Concept of OOP Part 1

Download PDF of This Page (Size: 219K)

Image of java oop concepts

Image of Java Oop Concepts

Image of java oop concepts

1 Introduction

The object-oriented programming (OOP) is a different approach to programming. Object oriented technology supported by C++ is considered the latest technology in software development.

The core of the pure object-oriented programming is to create an object, in code, that has certain properties and methods.

While designing C++ modules, we try to see whole world in the form of objects.

For example a car is an object which has certain properties such as color, number of doors, and the like. It also has certain methods such as accelerate, brake, and so on.

It is regarded as the ultimate paradigm for the modelling of information, be that data or logic.

2 Objectives

After going through this lesson, you would be able to:

  • Learn the basic concepts used in OOP

  • Describe the various benefits provided by OOP

  • Explain the programming applications of OOP.

3 Object-Oriented Programming

Over the years many object-oriented programming languages such as C++ and small talk have come up and are becoming quite popular in the market.

The major need for developing such languages was to manage the ever-increasing size and complexity of programs.

Object oriented programming – As the name suggests uses objects in programming.

Object oriented programming aims to implement real world entities like inheritance, hiding, polymorphism etc in programming.

The main aim of OOP is to bind together the data and the functions that operates on them so that no other part of code can access this data except that function.