What is the difference between C++ & Java?

Answer Posted / abdull wadood

In c++ you can use destructor but in java u can't use
destructor.
In java u can request the compiler to garbage collector.

Is This Answer Correct ?    20 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does java allow default arguments?

594


Difference between class#getinstance() and new operator ?

652


What is the difference between a switch statement and an if statement?

523


How to sort a collection of custom Objects in Java?

608


What is the char data type?

538






List out five keywords related to exception handling ?

608


What is the difference between iterator and enumeration ?

520


Is void a wrapper class?

540


Are static members inherited to sub classes?

646


Differentiate between == and equals().

606


What are wrapped classes in java programming?

595


What are the 6 mandatory procedures for iso 9001?

535


What are recursive functions? Give some examples?

624


Can we create object of static class?

536


What is consumer in java?

532