+ 16
Please answer to the question: What are the basics concepts of Object-Oriented Programming?
a) Reliability b) Encapsulation c) Polymorphism d) Inheritance e) Traceability f) Abstraction
8 ответов
+ 8
Encapsulation, Polymorphism, Inheritance
+ 6
• Classes and Objects
• Inheritance
• Polymorphism
• Data Abstraction
• Encapsulation
OOP basically revolve around these concepts. You can read about them in the tutorials.
+ 3
For me it's the Basic concepts are just Inheritance and Polymorphism. Without these its not OOP anymore.
+ 3
Encapsulation, polymorphism, abstraction, and inheritance
abstraction is the answer
+ 2
abstraction is the answer
0
Object-oriented programming happens when you decompose a complex problem into "objects" from the problem domain. Each type of object defined in your solution encapsulates only the data and interfaces necessary handle part of the work (relevant to that type of object).
An architecture arises from connecting the objects via their interfaces to build a machine that solves the problem.
This is one way to allow for a divide-and-conquer approach to solving compex problems.
Once you start thinking in terms of objects in the solution space, concepts like inheritance and polymorphism start to make sense to help manage the complexity of objects.
A big advantage of OOP is that you can take advantage of the knowledge of experts in the field of the problem you're trying to solve (domain experts), like a doctor or a physicist, or a fireman - who generally will not be able to explain what they need using computer language terminology.
- 1
ecapsulation
- 1
Encapsulation is the answer.