Course Name: Computer Engineering Group
Branch: Computer Science & Engineering
Semester: 3rd semester / 2nd year (Diploma Engineering)
Subject name: Object oriented programming
Subject code: CSE 303
As per the syllabus of SBTE, JHARKHAND
CONCEPT OF OBJECT
CHAPTER – 01:
ORIENTED PROGRAMMING
TOPICS:
1. Basic concepts
2. Benefits of OOP’s
3. Procedure oriented programming v/s object oriented
programming
4. Structure of C++ programs
,1. BASIC CONCEPTS:
Object oriented programming is a type of programming
which uses objects and classes its functioning. The object
oriented programming is based on real world entities like
inheritance, polymorphism, data hiding, etc. It aims at
binding together data and function work on these data sets
into a single entity to restrict their usage.
Some basic concepts of object oriented programming
are:
CLASS
OBJECTS
ENCAPSULATION
POLYMORPHISM
INHERITANCE
ABSTRACTION
CLASS:
, A class is a data-type that has its own members i.e. data
members and member functions. It is the blueprint for an
object. In object oriented programming language. It is the
basic building block of object oriented programming in C++.
The members of a class are accessed in programming
language by creating an instance of the class.
Some important properties of class are:
1. Class is a user-defined data-type.
2. A class contains members like data members and
member functions.
3. Data members are variables of the class.
4. Member functions are the methods that are used to
manipulate data members.
5. Data members define the properties of the class whereas
the member functions define the behaviour of the class.