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


Please Help Members By Posting Answers For Below Questions

write a programe to calculate the simple intrest and compund intrest using by function overlading

1668


Which is not an object oriented programming language?

539


Plese get me a perfect C++ program for railway/airway reservation with all details.

3427


What is a class in oop?

602


What is inheritance in oop?

604






What is an interface in oop?

593


What is abstraction oop?

623


What is a class and object?

598


What are the components of marker interface?

600


What is difference between abstraction and encapsulation?

592


Which language is not a true object oriented programming language?

640


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.

1793


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

1657


What is polymorphism what is it for and how is it used?

574


What is oops in programming?

566