What is the difference between C++ & Java?
Answer Posted / komal
c++ uses destructor to deallocate memory.
java uses garbage collector for this purpose
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Difference between == and .equals() ?
what is static import in java? Explain
How to make a write-only class in java?
What is difference between array and vector?
Is a char always 1 byte?
How do you declare a string variable?
How do you convert string to int in java?
Can a class be a super class and a sub-class at the same time? Give example.
What is passing parameters in java?
Can we restart a dead thread in java?
Where are the local variables stored?
What do you mean by platform independence of Java?
What are inner classes or non static nested classes in java?
What is multithreading and its advantages?
What is the file extension for java?