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
When not to use object oriented programming?
What are the 5 oop principles?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
Why multiple inheritance is not possible?
Which type does string inherit from?
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
Why is there no multiple inheritance?
What is the difference between static polymorphism and dynamic polymorphism?
What is and I oop mean?
Whats oop mean?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
what is the drawback of classical methods in oops?
What is interface in oop?
How do you achieve polymorphism?
Give two or more real cenario of virtual function and vertual object