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
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
what type of question are asked in thoughtworks pair programming round ?
What is the types of inheritance?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
What is solid in oops?
Prepare me a program for the animation of train
What is interface in oop?
write a C++ program for booking using constructor and destructor.
any one please tell me the purpose of operator overloading
What is polymorphism and types?
What is class and object in oops?
What is polymorphism what is it for and how is it used?
Can a varargs method be overloaded?