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 the use of oops?
What is advantage of inheritance?
Is oop better than procedural?
What is abstraction in oops with example?
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 are properties in oop?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What is the benefit of oop?
How to use CMutex, CSemaphore in VC++ MFC
Is html an oop?
What is encapsulation in simple terms?
What does it mean when someone says I oop?
What is the difference between inheritance and polymorphism?
What is the main feature of oop?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer