what are the disadvantages of C++?
Answer Posted / linto john
one of the main reason is that it does not support encapsulation, as all the code should be within the class, but main function from where the execution starts is outside the class.
and one more reason is that it does not support garbage collection
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is polymorphism oop?
What is methods in oop?
What is a null tree?
What is inheritance in oop?
What is difference between inheritance and polymorphism?
What is meant by multiple inheritance?
What is class in oop with example?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
when to use 'mutable' keyword and when to use 'const cast' in c++
What is overriding in oop?
How to use CMutex, CSemaphore in VC++ MFC
How oops is better than procedural?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
Is data hiding and abstraction same?
What is cohesion in oop?