What is the main difference between C++ and Java

Answer Posted / nish

the main difference is that java provides more security
than c++ and java is useful in web based applications.
In java there is no Multiple inheritance instead of that we
use Interfaces.

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Please send ford technologies placement paper 2 my mail id

1853


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1634


What is encapsulation selenium?

763


What is oops and why we use oops?

795


Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2223


What does enum stand for?

876


What is the difference between inheritance and polymorphism?

808


What is abstraction and encapsulation?

779


What is this pointer in oop?

807


Why do while loop is used?

788


What is overloading and its types?

829


What is oops with example?

782


Which type does string inherit from?

853


What makes a language oop?

832


What is new keyword in oops?

800