What is the difference between C++ & Java?

Answer Posted / nagaraju

the main difference between c++ and java is, c++ don't have
any automatic memory deallocation. where as java have
automatic deallocation of memory

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between throw and throws?

623


Explain the difference between abstraction and encapsulation.

539


Can we declare a constructor as final?

679


What is difference overloading and overriding?

582


What does it mean that strings are immutable?

578






What is the abstract class?

600


How many types of operators are there?

529


What is a protected method?

598


what is the use of bean managed and container managed with example?

1503


What are predefined functions?

581


How to access arraylist elements in java?

495


What is the use of parseint in java?

539


how to handle exceptions in ejb?

1880


Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?

640


What is fundamental datatype?

531