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 are two types of polymorphism?
What is the benefit of oop?
What is the significance of classes in oop?
What is polymorphism what are the different types of polymorphism?
What is interface? When and where is it used?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
What is methods in oop?
Can abstract class have normal methods?
Why do we use oops?
Why we use classes in oop?
What is protected in oop?
What is the purpose of polymorphism?
What is oops concept with example?
what is different between oops and c++
• What are the desirable attributes for memory managment?