+ 1
What's the functin of OOP ????!!!!!
I can't understand this important thing in programming world, please anyone make it simple for me ..
3 Réponses
+ 8
If OOP does not exist, the large systems become too complex to make it work and be maintained.
With OOP the functionalities can be arreanged in classes and interfaces in a more convenient way
Furthermore, some attributes can be private for a class. This permits that an attribute 'user' from a class dont interfere with an attribute 'user' from another class. This is called encapsulation of data hiding
Other advantage is that attributes ( data) and methods can be put in a single entity, a class. Then the code is more consistent
+ 3
OOP language help us to divide the program into simpler modules (or finctions) so that our task becomes easy.
OOPs have following features:
1. Object - Instance of Class
2. Class - Blue print of Object
3. Encapsulation - Protecting our Data
4. Polymorphism - Different behaviors at different instances
5. Abstraction - Hiding our irrelevant Data
6. Inheritance - One property of object is acquiring to another property of object
OOP languages are easier than others and thus they are recommened for a beginner.
for more details :- https://www.quora.com/What-is-object-oriented-programming visit here