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 the difference between abstraction and polymorphism?
when to use 'mutable' keyword and when to use 'const cast' in c++
What are the benefits of oop?
How do you define social class?
What are the 3 principles of oop?
What are the 4 main oop principles?
Which language is pure oop?
What is a superclass in oop?
What is a class in oop?
Which is not an object oriented programming language?
What does <> mean pseudocode?
What is the difference between procedural programming and oops?
What are the types of abstraction?
What is pointer in oop?
What is encapsulation with real life example?