What is the main difference between C++ and Java

Answers were Sorted based on User's Feedback



What is the main difference between C++ and Java..

Answer / 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

More OOPS Interview Questions

to find out the minimum of two integer number of two different classes using friend function

0 Answers  


What is a class and object?

0 Answers  


why we are declare the function in the abstract class even though we are declaring it in Derived class?

1 Answers   TCS,


I am DeePu sotware engineer working with EMC corporation ,recently I had attended mcafee interview . Their questions were at heights of stupidity , I don't know what they want , I am a developer with 4 year experienced .I am listing the questions asked 1:What is the flag in g++ to avoid structure padding 2:In wht order parameters are passed to stack 3:How you will edit code segment of an exe

1 Answers  


what are the ways in which a constructors can be called?

0 Answers  


How is data security provided in Object Oriented languages? ?

5 Answers  


What is polymorphism and why is it important?

0 Answers  


What is abstraction with example?

0 Answers  


Why is there no multiple inheritance?

0 Answers  


What is solid in oops?

0 Answers  


When not to use object oriented programming?

0 Answers  


You have one base class virtual function how will call that function from derived class?

4 Answers  


Categories