What is the difference between C++ & Java?

Answers were Sorted based on User's Feedback



What is the difference between C++ & Java?..

Answer / nagendra.r

the main difference between c++ and java that c++ contains
multiple inhearitance but java contains interface instead
of multiple inhearitance

Is This Answer Correct ?    4 Yes 1 No

What is the difference between C++ & Java?..

Answer / tiwari suryaprakash

You can Run your Program after deleting(but atleast one time
run it before RUN it) your program will RUN.
But in C++ it is not possible because C++ is only INTER
PRETER language but java is INTER PRETER as well as Compiler.

Is This Answer Correct ?    4 Yes 1 No

What is the difference between C++ & Java?..

Answer / i.honey

In java user interface can be implemented very efficiently why because AWT(abstract window toolkit) components available in java not available in c++

Is This Answer Correct ?    3 Yes 0 No

What is the difference between C++ & Java?..

Answer / suresh

Visit this blog http://www.javaorange.blogspot.com you will
find over 20 - 25 differences between C++ and Java.

Is This Answer Correct ?    3 Yes 0 No

What is the difference between C++ & Java?..

Answer / 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

What is the difference between C++ & Java?..

Answer / sameem ahmed

c++ is used frainds function and jave not used fraind function so we can say that java is secured than c++ so we can that java is very stron than c++

Is This Answer Correct ?    3 Yes 0 No

What is the difference between C++ & Java?..

Answer / sonam

java change the java code into byte code in the c++ cannot
change code into yte code.

Is This Answer Correct ?    3 Yes 0 No

What is the difference between C++ & Java?..

Answer / seshu.r

c++ is partially object oriented programming language,
but java is fully object oriented programming language.

Is This Answer Correct ?    3 Yes 0 No

What is the difference between C++ & Java?..

Answer / dimple kaushal

the difference between java & c++ is:-
java support multithreading but c++ does't support this. .
destructor is omited in java. . .
java not use the header files. .
java not use poiters,goto statement. .

Is This Answer Correct ?    3 Yes 0 No

What is the difference between C++ & Java?..

Answer / koushik pal

One of the main difference is JAVA doesn't support operator
overloading rather C++ supports it.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Core Java Interview Questions

A abstract class extending an abstract class.Super class has both abstract and non-abstract methods.How can we implement abstract and non-abstract mehtods? Explain with snippet

3 Answers  


Can an interface extend a class?

0 Answers  


What are strings in physics?

0 Answers  


What are the drawbacks for singleton class?

0 Answers  


Can java program run without jre?

0 Answers  






Why java is platform independent? Explain.

0 Answers  


What is a J2EE component? List out all the component?

2 Answers   Adobe,


Which number is denoted by leading 0x or 0x in java?

0 Answers  


Explain the difference between treeset and treemap in java?

0 Answers  


Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).

0 Answers  


what is meant by serialization?

7 Answers  


What modifiers may be used with a top-level class?

0 Answers  


Categories