what is the difference between Cpp And Java
Answers were Sorted based on User's Feedback
Answer / syamala
in cpp pointers are used,in java pointers are not used.
| Is This Answer Correct ? | 2 Yes | 1 No |
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 |
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 |
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 |
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 |
what is difference between servletconfig and servletcontext?
What is meant by class loader? How many types are there?
What is a bubble sort in java?
What are classloaders?
how to call one program .class file in another program
How do you declare a variable?
What is flush () in java?
What is a static method in java?
What are parameters in a method?
Where can I find data structures question and answers with comprehensive working code written in Java
What is the difference between public, private, protected, and friend access?
What are the kinds of polymorphism?