what are the main underlying concepts of object orientation?
Answer Posted / shahir
Mainly there are four concepts for OOAD.
1.Abstraction -grouping of data and behaviour(operations)
into a conceptual object.
2.Encapsulation -Its the implementation mode of data
abstraction.With encapsulation, we can accomplish data
hiding
3.Polymorphism -Polymorphism refers to the process whereby
an object invokes a method of another object in a common
manner (with the same name) without understanding or caring
how it is accomplished.
4.Inheritance-When an object is derived from another
object. It inherits all the properties etc
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
Can we override static methods? Why?
What is the use of interface?
Explain about a class in oop?
Explain about polymorphism?
What is sealed modifiers?
Tell me something about abstract classes?
What is the use if instanceof keyword? And how do refer to a current instance of object?
What is overriding?
Explain about the design phase?
Do we require a parameter for constructors?
Can we override a method by using same method name and arguments but different return types?
What do you mean by virtual function and virtual classes?
If a class inherits an interface, what are the 2 options available for that class?
Why are virtual users created?
Explain about a class?