What are the OOPS concepts?
Answer Posted / abhradeep
Object is form of data abstraction so the OOP concepts will be as follows
1) Encapsulation (E.G Class)
2) Abstraction (E.G Object)
3) Polymorphism (e.g Overloading, overriding)
4) Inheritance (e.g Interface, Abstract Class)
5) Dynamic binding (e.g new keyword @ the runtime)
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why multiple inheritance is not allowed?
Advantage and disadvantage of routing in telecom sector
why reinterpret cast is considered dangerous?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
What is inheritance write a program to show use of inheritance?
Why is polymorphism important in oop?
What type of loop is a for loop?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
What is balance factor?
What is the importance of oop?
What is polymorphism in oop example?
What is abstraction encapsulation?
Why is polymorphism needed?
Why do we need polymorphism in c#?
What is data binding in oops?