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 polymorphism oop?
Why do we need oop?
What is encapsulation c#?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
Write a program to sort the number with different sorts in one program ??
What is encapsulation in simple terms?
c++ program to swap the objects of two different classes
What is difference between pop and oop?
How do you achieve runtime polymorphism?
What are properties in oop?
What are objects in oop?
What is object in oop with example?
What is meant by oops concept?
Can main method override?
What is object and class in oops?