What is the difference between C++ & Java?

Answers were Sorted based on User's Feedback



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

Answer / r.lakshana

C++ is the advanced version of c i.e.C with Classes whereas
Java is the platform independent as it works on any type of
operating systems.

Is This Answer Correct ?    642 Yes 69 No

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

Answer / munish

java is reusable and more reliable,more secure than c++.

Is This Answer Correct ?    492 Yes 50 No

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

Answer / rishi

java has no pointers where c ++ has pointers

Is This Answer Correct ?    425 Yes 47 No

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

Answer / saket

C++ supports multiple inheritence but Java provides
interfaces in case of multiple inheritence.

Is This Answer Correct ?    399 Yes 28 No

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

Answer / sukumar.k.r

The main differences between c++ and Java are that "The
features that are present in C++ are not present in Java.

1) Pointers.
2) Templates.

Is This Answer Correct ?    345 Yes 58 No

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

Answer / prabhu

C++ SUPPORTS THE CONCEPT OF
1.POINTERS
2.TEMPLATES AND
3.VIRTUAL FUNCTIONS

BUT IN CASE OF JAVA IT WONT SUPPORTS THE ABOVE FEATURES

Is This Answer Correct ?    301 Yes 38 No

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

Answer / sukumar.k.r

The main difference between c++ and java is that "C++ does
not allow persistence because it does not support database
connection while Java allows persistence because it
supports database connection."

Is This Answer Correct ?    335 Yes 78 No

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

Answer / sanjay gajula

IN C++ WE CAN WRITE A PROGRAM WITHOUT USING "CLASS" WHEREAS
IN JAVA IT IS NOT POSSIBLE.

Is This Answer Correct ?    294 Yes 40 No

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

Answer / nitin agrawal

the main difference between c++ and java is that java is
consistent and it is a dynamic model.it is compact and
portable binary code while c++ is not. and most important
difference is the it has safe and secure execution
environment.

Is This Answer Correct ?    202 Yes 31 No

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

Answer / dsr

C++ java
pointers no pointers
multiple inheritance multiple inheritence with interface
platform dependent plotformindependent

Is This Answer Correct ?    86 Yes 7 No

Post New Answer

More Core Java Interview Questions

What are the new features in java 8?

0 Answers  


how to make hashmap object as synchronized object?

2 Answers   BOB Technologies,


From the two, which would be easier to write: synchronization code for ten threads or two threads?

0 Answers  


What are access modifiers in Java ?

6 Answers  


I want to persist data of objects for later use. What’s the best approach to do so?

0 Answers  






What is int short for?

0 Answers  


Why do we need singleton?

0 Answers  


What are the rules for naming an array?

0 Answers  


what are depricated methods in threads and explain the lifecycle methods

5 Answers   CTS,


I have a String s = java; What is the output when I say s.replaceAll('j', 'k'); Also what is the value of s after replacing?

8 Answers   KPIT,


in a console we r giving java <class name> if r pressing enter where it'll goes

2 Answers   CSC,


Explain Stream Tokenizer?

4 Answers  


Categories