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


Please Help Members By Posting Answers For Below Questions

How many bits are in a sentence?

579


Why are there no global variables in java?

573


Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?

555


Can a singleton class be inherited?

516


Is a boolean variable?

512






What is difference between float and double?

495


What is pass by value?

506


What is unicode used for?

564


What is a short in java?

494


How do you compare objects in java?

493


What is the default value of byte datatype in java?

476


What class allows you to read objects directly from a stream?

856


What is boolean example?

523


What is the full meaning of java?

525


What is the difference between logical data independence and physical data independence?

526