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 debug class?what is trace class? What differences are between them? With examples.
Can you name some types of inheritance?
How to call a non virtual function in the derived class by using base class pointer
What is the important feature of inheritance?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is encapsulation c#?
What is polymorphism oop?
What is the difference between abstraction and polymorphism?
What is the real life example of polymorphism?
What is abstraction in oop?
Can enum be null?
What is constructor in oop?
What is oops in programming?
What does <> mean pseudocode?
what is difference between class template and template class?