What is the difference between C++ & Java?

Answer Posted / mustafa daudi

*Java Supports dynamic memory allocation due to dynamic
allocation there is no wastage of memory..
While in c++ there is wastage of memory.
*Java is exensible because new class can easily added in
libraries while in c++ it is not possible..

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the driver class?

563


What does exp mean in math?

522


What is variable and rules of variable?

508


How does hashset works in java?

524


Explain wait(), notify() and notifyall() methods of object class ?

583






what is bmg file and how to create that files?what will it contailn?

1875


What are untrusted applets?

585


Difference between method overloading and overriding.

575


Explain when classnotfoundexception will be raised ?

563


What is the largest data type in java?

504


What are the special characters?

529


Can you access the private method from outside the class?

499


What are the types of java languages?

511


What is outofmemoryerror in java?

557


Explain reverse a linked list recursive java solution?

519