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 are the string methods in java?

586


What is the difference between an inner class and a sub-class?

510


How do you ensure that n threads can access n resources without deadlock?

816


Is string pool garbage collected?

553


Difference between Linked list and Queue?

613






What is * argv?

710


Write a program based on Java script program.

652


What does jenkins do?

490


Do you know why doesn't the java library use a randomized version of quicksort?

556


How to implement an arraylist in java?

510


What does a method signature consist of?

513


What are exception handling keywords in java?

612


What do you understand by the term singleton?

584


How to disable caching on back button of the browser?

531


Why can't we use static class instead of singleton?

503