what is the difference between Cpp And Java

Answers were Sorted based on User's Feedback



what is the difference between Cpp And Java..

Answer / syamala

in cpp pointers are used,in java pointers are not used.

Is This Answer Correct ?    2 Yes 1 No

what is the difference between Cpp And Java..

Answer / subramanyam reddy.b

java is 100% pure object language because it supports all the features of oops and also overcome the draw backs of c++. all c++ programs can be written like cc programs, c++ support friend functions to access private data members, it is illegal. tell me why we have to use private key word to provide security for our data, but by using friend functions we can access the private date it is illegal.c++ does not support automatic gorbage collection, even though destructors are exists in c++ we need to write the code for destructors, without writing code it wont work. in java we have gorbage collectors.c++ support only seequential access where as java support concurrent access of data by using multi threading concept.java is used to develop distributed applications but c++ for staand alone applicatiuons............ like this we have many advantages with java

Is This Answer Correct ?    0 Yes 0 No

what is the difference between Cpp And Java..

Answer / praneeth

in cpp there exist the concept of virtual classes where as in java it is not present

Is This Answer Correct ?    0 Yes 1 No

what is the difference between Cpp And Java..

Answer / sudheesh

What the hell is this , somebody confirm whether CPP or
Java as the pure oject oriented comcept ....PLs Reply ....

Is This Answer Correct ?    3 Yes 8 No

what is the difference between Cpp And Java..

Answer / ravikiran(aptech mumbai)

cpp is a pure object oriented programming,where as java is
not because it doen't support multiple inheritance

Is This Answer Correct ?    29 Yes 54 No

Post New Answer

More Core Java Interview Questions

without using arthematic operation ,how can you write the logic for adding/substraction/multiplication?

7 Answers   Tanla Solutions, Wipro,


What we have to do, when we don't want to implement all methods of an interface?

5 Answers  


What is meant by data hiding in java?

0 Answers   Aspire, Infogain,


What are predefined functions?

0 Answers  


Define how does a try statement determine which catch clause should be used to handle an exception?

0 Answers  






Can we serialize arraylist in java?

0 Answers  


what is the purpose of method overriding in java where v r completely re-defining a inherited method instead y can't v create a new method and define.If the question is very silly plz excuse me and do reply.Thank U!

7 Answers   emc2, Kumaran Systems,


What is static and final keyword in java?

0 Answers  


What is difference between wait and notify in java?

0 Answers  


how is final different from finally and finalize in java?

0 Answers   DELL,


What is regex java?

0 Answers  


how many types of Inheritance?

0 Answers   Impetus,


Categories