What is the difference between the c++ & java?

Answer Posted / devi

c++ java
1) Support Pointers 1) Doesnot support pointers
2) support Multiple Inheritance 2) Indirectly supported
Interface
3) Storage classes 3) static only allowed
4) struct,union,enum 4) Not supported
5) Destructor used 5) Automatically performed
destroy the object using finalize method
6) Operator Overloading 6) Not supported operator
Overloding
7) Preprocessor allowed 7) Not supported

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why it is called runtime polymorphism?

804


What is the use of oops?

812


Can you explain polymorphism?

841


What is encapsulation in oops?

777


Why do we use encapsulation in oops?

764


Get me an image implementation program.

1755


What does it mean when someone says I oop?

824


What is object in oops?

836


What is object in oop?

889


How oops is better than procedural?

843


What is polymorphism programming?

866


Why do we use inheritance?

834


What polymorphism means?

819


What is the difference between a constructor and a destructor?

868


Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.

1988