What is the difference between C++ & Java?

Answers were Sorted based on User's Feedback



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

Answer / firew tsegaye

the first difference is Java more reliable relative to c++.

Is This Answer Correct ?    9 Yes 1 No

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

Answer / deepti iyer

c++ supports pointers,java do not
c++ supports procedural and object oriented
programming,wheras java support only object oriented
c++ has operator overloading,java has interfaces

Is This Answer Correct ?    7 Yes 0 No

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

Answer / abhishek khatod

java s a strongly typed language wheres C++ s nt..!!

Is This Answer Correct ?    7 Yes 0 No

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

Answer / hemantha kumar

JAVA IS PLATFORM INDEPENDENT.WE CAN RUN .class file in any
OS or any computer.

But c && C++ are platform dependent.i.e if .exe file
created in sp2 then it will not work in other Systems(OS).

&& IF ur processor is 8086 then the created .exe file will
work in 8086 processor only.


Fo r more information read AN INTGREATED APRROCH TO JAVA
(BLACK BOOK)

Is This Answer Correct ?    7 Yes 0 No

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

Answer / sarathi

C++ is console applications oriented and Java is Web Application Oriented.

Is This Answer Correct ?    7 Yes 0 No

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

Answer / kishan

Can u show me any c++ program which is developed without
class or object?

Is This Answer Correct ?    17 Yes 11 No

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

Answer / komal

c++ uses destructor to deallocate memory.
java uses garbage collector for this purpose

Is This Answer Correct ?    6 Yes 0 No

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

Answer / muna nayak

java is platform independs but c++ is not.

Is This Answer Correct ?    6 Yes 0 No

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

Answer / surajit mishra

c++ is advanced version of c. so,it has procedure oriented
concept also it has object oriented concept but java has
truely object oriented concept.

Another difference is java is platform independent means it
can be accepted by any type of operating system but c++ is
not platform independent.

Is This Answer Correct ?    5 Yes 0 No

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

Answer / radhika

c++ is not purely object oriented language .but Java is from 1.5 version ,it is purely object oriented language.
c++ is a language . Java is a language,and platform also.
c++ is platform dependent . Java is plat form independent .
c++ doest satisfy real time real time entities. but Java satisfies .
Java is more secured compare to c language because of rich hierarchic

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More Core Java Interview Questions

What is main function purpose?

0 Answers  


what is a green thread? : Java thread

0 Answers  


What is the final class modifier?

0 Answers  


Difference between static and dynamic class loading.

0 Answers  


Nullpointer exception is a very common exception. Why is it not made as a checked exception?

2 Answers   Ness Technologies,






What is a string token?

0 Answers  


Explain Big-O notation with an example

1 Answers  


What is an infinite loop? How infinite loop is declared?

0 Answers  


What is the protocol is used in type4 driver?

4 Answers   CMC,


These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }

0 Answers   HCL,


How many types of voids are there?

0 Answers  


What is thread synchronization in java?

0 Answers  


Categories