What is the main difference between C++ and Java

Answer Posted / t.biren kumar patro

java is purely follow object oriented programming but c++ is
not.java does not have goto statement but c++ has.operator
overloading is not possible in java but in case of c++ is
not.only constructors are there in java but there are
constructor and destructors in c++.

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a c++ program to display pass and fail for three student using static member function

2803


What is polymorphism and why is it important?

554


Which language is not a true object oriented programming language?

634


What are the 4 pillars of oop?

661


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

1570






How to call a non virtual function in the derived class by using base class pointer

5244


What do you mean by overloading?

574


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.

1784


Which language is pure oop?

545


What is difference between polymorphism and inheritance?

611


What is abstract class in oops?

593


Where You Can Use Interface in your Project

1419


What is a superclass in oop?

663


What is overriding in oop?

544


What are objects in oop?

602