Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the main difference between C++ and Java

Answer Posted / selva kumar.r

In C++ we can use Inheritance.
there are various types of inheritance in c++
they are
* Simple / Single
* Multilevel
* Hierarchical
* Multiple
* Hybrid

Wheares in Java instead of Inheritance, we can use Interface

This is the major and main difference between C++ and
Java.

Is This Answer Correct ?    17 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cohesion in oop?

1071


What is object and example?

1182


Are polymorphisms mutations?

1169


assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).

2126


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1863


What is abstraction with example?

1120


What is polymorphism give a real life example?

1045


What is abstraction oop?

1105


Describe these concepts: Polymorphism, Inheritance and Abstraction.

1207


What is the purpose of polymorphism?

1131


why reinterpret cast is considered dangerous?

2399


What is encapsulation example?

1075


Why do we use inheritance?

1140


Why it is called runtime polymorphism?

1146


How can you overcome the diamond problem in inheritance?

1184