OOP is the programming in which objects and classes uses to write a program. It help programmer to organize, write, manage the program and also help them to reuse it all code which it write to approach a program.

. Classes:
OOP Classes are the higher part of the section like a function it is uses like a blueprint of the system use to create object.
. Objects:
An object is an instance of class which uses class terms and work on there ethics but contains its own data
The four main principal of OOP:

1.Encapsulation 2. Ploy-morphism 3. Abstraction 4.Inheritance
- ENCAPSULATION :
This is a process of combining data into a single unit or a class term and this is mostly use to protect sensitive data occurs in a public and private class terms , improve security , make the code easier to maintain and handle
Here the student name: “Abdul hadi” is visible to all and the number of the student is only visible to student.

2, PLOY-MORPHISM:
This is the type of oop in which same terms of program have use as a different methods and functions. This word in program systems means “MANY FORMS ”. Behave different with depending on object or situation. Animal make different sounds:

3.ABSTRACTION:
Abstraction means hiding unnecessary implementation details and showing only the essential features to the user. This reduces the complexity of the program and makes programs easier to understand and hides unnecessary implementation details.

- Inheritance:
Inheritance allows one class to acquire the properties and methods of another class. It promotes code reusability and reduces duplication. This uses to reuses the complexity of existing code and also reduces code duplication and makes programs easier to extend.

Disclaimer
The content published on TechToves is provided for general informational and educational purposes only. Our articles, guides, reviews, and recommendations are intended to help readers better understand technology, products, and related topics.
While we make reasonable efforts to ensure that the information published on this website is accurate and up to date, TechToves makes no guarantee regarding the completeness, accuracy, reliability, or suitability of the information for any particular purpose. Product specifications, prices, availability, features, and other details may change without notice.
Readers are encouraged to independently verify important information with the relevant manufacturer, authorized seller, or qualified professional before making purchasing decisions or taking any action based on our content. Any decision made in reliance on the information provided is at the reader’s own discretion and risk.
To the fullest extent permitted by applicable law, TechToves and its team shall not be liable for any loss, damage, or inconvenience arising from the use of, or reliance on, information published on this website. This includes decisions made based on product reviews, comparisons, recommendations, technical guides, or other website content.
This content is not a substitute for professional advice where such advice is necessary. Any external websites or third-party resources linked in our articles are provided for convenience, and TechToves does not guarantee the accuracy or availability of their content.
Nothing in this disclaimer excludes or limits any liability or rights that cannot lawfully be excluded or limited.




There are no comments