Block - 1 - Unit - I PDF
Block - 1 - Unit - I PDF
Block - 1 - Unit - I PDF
UNIT - I
Object Oriented Programming
Introduction
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 operate on them so that no
other part of the code can access this data except that function.
OOPs Concepts:
• Class
• Objects
• Data Abstraction
• Encapsulation
• Inheritance
• Polymorphism
• Dynamic Binding
• Message Passing
Objective
Object-oriented is a software design in which we can simply group data its data types
and methods under a single package. Here we will be dealing with 2 main terms:
Class: Class is a blueprint of data and functions or methods.
Objects: Objects are an instance of a class.
Program vs Programming
program is a set of structured activities
while programming is (broadcasting) the
designing, scheduling or planning of a radio or
television program / programme.
Programming Languages
Language : It is a mode of communication that is used
to share ideas, opinions with each other. For example,
if we want to teach someone, we need a language that
is understandable by both communicators.