What is the difference between C++ & Java?

Answer Posted / abc

->java not suppport operator
overloading,typedef,preprocessor,multiple
inheritance,structure,union,goto.

->there are no stand alone function in java.

->scop resolution operator replaced by dot(.)

->no need to include header files.

->java uses compiler and interpreter both, but c++ has
their is only compiler.

->java does not support unsigned integer.

->thread support is built in java but not in c++.

->internet support is built in java but not in c++.

->all code in java program is encapsulated with more than
one class.

->java does not have the delete operator.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between Error, defect,fault, failure and mistake?

650


Can we serialize static variables in java?

643


What does singleton mean in java?

504


What is meant by interface?

558


What is runtime locatable code?

852






Is oracle charging for java?

537


can java object be locked down for exclusive use by a given thread? Or what happens when a thread cannot acquire a lock on an object? : Java thread

528


Which containers use a flowlayout as their default layout in java programming?

499


Can we overload run() method in java?

587


What is downcasting?

561


What is scope of a variable?

595


Can we catch more than one exception in a single catch block?

620


How does callback work in java?

597


What methods are used in Servlet?Applet communication?

1655


What is bifunction in java?

665