What is the difference between C++ and java?
Answer Posted / jenny bala
The major Difference between C++ and Java is,
1.C++ is not fully OOP language since we can write a program without class also, But in java we cannot write a program without class.
2.C++ is not fully platform independent where .class file is not generated if you didn't use class in your program. But in java all files will create .class file after compilation of program, so it's Fully platform independent.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is oops with example?
what are the ways in which a constructors can be called?
Why is polymorphism needed?
What is polymorphism in oop example?
What is multilevel inheritance?
Do you know about multiple inheritance?
What is inheritance and how many types of inheritance?
What is difference between abstraction and encapsulation?
What is polymorphism explain its types?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
What are objects in oop?
What is object in oops?
What is basic concept of oop?
What causes polymorphism?
What is constructor in oop?