Features of Object Oriented Programming.pptx

avikkalsa 8 views 9 slides Aug 10, 2024
Slide 1
Slide 1 of 9
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9

About This Presentation

Njl mmm. Namaste. Mmmmm


Slide Content

Submitted By – Avik Kalsa B. TECH (ElectricalEngineering ), 5 th Sem University Roll No.-14801623020 Academic Year: 2024-25 FUTURE INSTITUTE OF ENGINEERING & MANAGEMENT [CC – 148] UNDER MAKAUT, WB CONTINUOUS ASSESSMENT#1 Object Oriented Programming ( OE-EE-501B ) Features of Object Oriented Programming

What is OOP? Object Oriented Programming (OOP) is a programming technique in which programs are written on the basis of objects. Examples: C++ PHP Java

Classes(Classification Of Objects) A class is a group of objects with same attributes and behavior. A class is user define derived class that combines both data and function and function and manipulate the data. Object  is a class type variable.  Objects  are also called instance of the class. Each  object  contains all members(variables and functions) declared in the class : Identity State Behaviour What is Object?

Benefits Of OOP Reusability Extensibility Decomposability Compos ability Understandability Security Characteristics Of OOP Inheritance Data Abstraction Data Encapsulation Polymorphism

Inheritance A programming technique that is used to reuse an existing class to build a new classis known as inheritance. Categories Of Inheritance 5 levels of inheritance - -Single level -Multilevel -Multiple -Hierarchical -Hybrid

Data Abstraction Data abstraction or information hiding refers to providing only essential information to the outside world and hiding their background details. Advantages Of Data Abstraction Simplification of software development. Testing and debugging. Reusability. Security. Modifications to the representation of a da ta type.

Data Encapsulation Data Encapsulation is an Object Oriented Programming concept that binds together the data and functions that manipulate the data and that keep both safe from outside interference and misuse.

Polymorphism The word polymorphism is a combination of two words poly and morphism . Poly means many and morphism means form. In object-oriented programming, polymorphism is the ability of objects of different types to respond to functions of the same name. The user does not have to know the exact type of the object in advance. The behavior of the object can be implemented at run time. Types Of Polymorphism Virtual functions. Operator overloading. Function overloading

Thank you
Tags