What is the difference between C++ & Java?
Answer Posted / mamta
java is automatic garbage collector where in c++ we have to use destructor to deallocate the memory.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is the function of compareto in java?
Why are the methods of the math class static?
What is method with example?
What is memory leak and how does java handle it?
How does hashset works in java?
what is daemon thread and which method is used to create the daemon thread? : Java thread
Can a abstract class be defined without any abstract methods?
What are the 6 functions?
Explain the private protected method modifier?
What is the difference between yielding and sleeping?
Can java list be null?
What does math floor () do?
Is the empty set a singleton?
How many bits are in a sentence?
What's the base class in java from which all classes are derived?