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

Why is stringbuffer faster than string?

480


How many types of assembly languages are there?

516


What is the maximum size of arraylist in java?

484


Is void a return type?

545


Why is the singleton pattern considered to be an anti pattern?

465






Can we create a class inside a class in java?

540


What is the purpose of final keyword and when to use it?

518


Which of the following is not an isolation level in the JDBC

1604


What are the advantages of unicode?

539


What is difference between identifier and variable?

464


Does variable declaration allocate memory?

575


What are wrapper classes in java?

590


Explain different types of thread priorities ?

613


Java is pass by value or pass by reference? Explain

528


What an i/o filter?

558