What is the main difference between C++ and Java
Answer Posted / sravanthi
c++ is not a pure object oriented programming language where
as java is a pure object oriented language.i.e.,some opp
concepts like multiple inheritance,encapsulation etc is not
supported by java.in place of multiple inheritance interface
is introduced.and java does not support pointers as they
create some problems like crashing,terminating etc.java is
plat form independent where as c++ is plat form dependent
i.e.,in java we can write pgm once can run it anywhere.java
supports internet where c++ does not.c++ is a compiler,whereas
java is a both an interpreter & compiler.
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
What is inheritance in oop?
Why oops is important?
What is difference between data abstraction and encapsulation?
hi all..i want to know oops concepts clearly can any1 explain??
What are the important components of cohesion?
What is an example of genetic polymorphism?
Can static class have constructor?
Why is abstraction needed?
What is a null tree?
Can abstract class have normal methods?
What is polymorphism explain?
What are the 3 principles of oop?
Templates mean
What makes a language oop?
what is different between oops and c++