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
What does system out println () do?
Why volatile is used in java?
Can we have return statement in finally clause? What will happen?
What is a module function?
What is immutable in java?
What will be the default values of all the elements of an array defined as an instance variable?
If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?
What does jre stand for?
What is the purpose of the System class?
What is the implementation of destroy method in java. Is it native or java code?
Can we increase size of array?
Explain the access modifiers for a class, method and variables?
What are the 7 types of characters?
What is sortedmap interface?
What is the difference between keyword and identifier?