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
How an object is serialized in java?
What is bubble sorting in java?
What is an array length?
What is final?
What is the indent key?
What is class??
What are bind parameters?
What are local variables?
Why is java logo a cup of coffee?
What is difference between == equals () and compareto () method?
When a byte datatype is used?
Are the imports checked for validity at compile time? Will the code containing an import such as java.lang.abcd compile?
What is double in java?
What are the ways in which a thread can enter the waiting state?
How do you write methodology?