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 is the size of integer?
Can we use different return types for methods when overridden?
What is java in simple terms?
What is meant by local variable and instance variable?
How do I remove a character from a string in java?
Explain creating threads by extending thread class ?
Why is stringbuffer thread safe?
What is the difference between size and length in java?
What is the final field modifier?
What is the difference between a loader and a compiler?
Does variable declaration allocate memory?
What are basic keywords?
What are the basic interfaces of java collections framework?
How does singleton class work?
How do you write a good declaration?