Characteristics of OOPS

4,478 views 25 slides Oct 19, 2016
Slide 1
Slide 1 of 25
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
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25

About This Presentation

OOPS Fundamental for an Engineering Student.


Slide Content

SAGAR INSTITUTE OF RESEARCH AND TECHNOLOGY AND SCIENCE Presentation on - OOPS Presentation by- Abhishek kumr 01234321 CSE/3 rd

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 And Objects

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.

What is Object? 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

Benefits Of OOP Reusability Extensibility Decomposability Compos ability Understandability Security

Characteristics Of OOP

Characteristics Of OOP Inheritance Data Abstraction Data Encapsulation Polymorphism

Inheritance

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

Types of Inheritance Flower Rose When a sub class inherit the property from only one base class, then it is known as Single Inheritance BASE CLASS SUB CLASS SINGLE INHETANE :-

Multi Level Inheritance When a sub class inherit the property from the class that itself inherit from another class , then it is known as Multi Level Inheritance.

Multiple Inheritance Bird Pigeon Parrot Multiple Base Class Derived When a sub class inherit the property from several base class, then it is known as multiple inheritance.

Hierarchical Inheritance B D C A G H F E When several sub class inherit the property from single base class, then it is known as hierarchical inheritance.

Hybrid India World Rajasthan Jaipur In hybrid inheritance several inheritance forms Are combined.

Data Abstraction

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

Data Encapsulation

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

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