0% found this document useful (0 votes)
15 views11 pages

Sayaksome 18700122038

Uploaded by

sayaksome007
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views11 pages

Sayaksome 18700122038

Uploaded by

sayaksome007
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

NAME - SAYAK SOME

STREAM - CSE
ROLL NO. - 18700122038
YEAR - 3rd
SEMESTER - 5th
PAPER NAME - OBJECT ORIENTED PROGRAMMING
PAPER CODE - PCC-CS503
NAME OF EXAMINATION#CA1
SESSION - 2022-26

1
CONTENTS

SL. NO. TOPIC PAGE NO.


01. Features of OOPS 03
02. Encapsulation 04
03. Inheritance 05
04. Polymorphism 06
05. Abstraction 07
06. Classes and Objects 08
07. Data Abstraction 09
08. Advantages of OOP 10

2
Features of Object Oriented Programming(OOPS)
Object-Oriented Programming (OOP) is a programming
paradigm that uses objects and classes to design and develop
software. OOP focuses on representing data and behavior as
objects, which interact with each other to perform tasks.

3
Encapsulation
Data Hiding

Encapsulation conceals data within an object, preventing direct access and modification from outside the object.

Data Protection

Encapsulation protects data integrity by ensuring that data can only be accessed and modified through controlled

methods, reducing the risk of errors and unauthorized changes.

Modularity

Encapsulation promotes code reusability and modularity. Objects become self-contained units, which can be

easily reused in different parts of the program.

4
Inheritance
1 Parent Class

The parent class provides a set of common attributes and methods that are inherited by its child

classes.

2 Child Class

The child class inherits the attributes and methods of the parent class, but can also have its own

unique attributes and methods.

3 Code Reuse

Inheritance promotes code reuse by allowing child classes to inherit features from their parent

class, reducing redundancy and improving efficiency.

5
Polymorphism
Multiple Forms Method Overriding Flexibility

Polymorphism allows objects of different classes to be Child classes can override methods inherited from their Polymorphism makes code more flexible by allowing the

treated as objects of a common type. parent class, providing specialized behavior for specific same code to work with different objects, simplifying

object types. program design and maintenance.

6
Abstraction
1 Hidden Complexity

Abstraction simplifies complex systems by hiding unnecessary details and presenting only essential

information to users.

2 Focus on Essentials

Abstraction allows programmers to focus on the core functionality of objects without worrying about the

underlying implementation details.

3 Code Readability

Abstraction improves code readability and maintainability by reducing the amount of code needed to

represent complex operations.

7
Classes and Objects
Class
A class is a blueprint or template that defines the attributes and methods of an object.

Object
An object is an instance of a class. It represents a real-world entity with specific attributes and

behaviors.

Relationship
Objects are created from classes. A class can be used to create multiple objects, each with its

own unique set of data.

8
Data Abstraction
Data Abstraction Implementation Details

Hides the internal details of an object. Users only interact with the object through

defined interfaces.

Provides a simplified view of the object. Allows for flexibility and change without

affecting users.

9
Advantages of OOP

Code Reusability
OOP promotes code reusability through inheritance and modularity, reducing development time and effort.

Maintainability
OOP makes code easier to maintain and update due to its modular structure and data encapsulation.

Flexibility
OOP provides flexibility for adapting to changing requirements, as objects can be easily modified and extended.

10
Collaboration
Thank You

11

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy