0% found this document useful (0 votes)
2 views1 page

Object Oriented Programming Notes

Object Oriented Programming (OOP) is a programming paradigm centered around objects and classes, which helps organize software design by focusing on data and behavior. Key concepts include classes, objects, encapsulation, inheritance, polymorphism, and abstraction. Advantages of OOP include code reusability, easy maintenance, better security, and modular programming.

Uploaded by

narent715
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)
2 views1 page

Object Oriented Programming Notes

Object Oriented Programming (OOP) is a programming paradigm centered around objects and classes, which helps organize software design by focusing on data and behavior. Key concepts include classes, objects, encapsulation, inheritance, polymorphism, and abstraction. Advantages of OOP include code reusability, easy maintenance, better security, and modular programming.

Uploaded by

narent715
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

Object Oriented Programming (OOP) - Notes

Object Oriented Programming (OOP) is a programming paradigm based on objects and classes. It helps organize
software design around data and behavior.

Concept Meaning

Class A blueprint for creating objects.


Object An instance of a class.
Encapsulation Binding data and methods together.
Inheritance Acquiring properties from another class.
Polymorphism One function behaving in different ways.
Abstraction Showing essential details and hiding complexity.

Simple C++ OOP Example


class Student {
public:
string name;
void display() {
cout << name;
}
};

int main() {
Student s1;
[Link] = "Naren";
[Link]();
}

Advantages of OOP:
• Code reusability
• Easy maintenance
• Better security
• Modular programming

You might also like