what are the disadvantages of C++?

Answer Posted / ranjan

it's not pure object oriented programming language. Because
c++ doesn't support for garbage collection...Which is a
disadvantage of C++. Which is overcome by java.

Is This Answer Correct ?    129 Yes 49 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1698


Can main method override?

585


What is overriding vs overloading?

584


What is the difference between a mixin and inheritance?

522


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?

1406






Can we create object of abstract class?

577


What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

1988


What is polymorphism used for?

572


Why do pointers exist?

661


What is an advantage of polymorphism?

597


What are different oops concepts?

578


What is encapsulation in ict?

608


Which language is not a true object oriented programming language?

643


write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.

1795


What is the highest level of cohesion?

579