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...

Diff between C++ and java?

Answer Posted / gyana

Java is simply different from C++.Because it do some
modification to c++ then after it publish..So there are 6
major difference here i can explain.These are

1-java doesn't support predessors.Where as C++ support this.
2-Java doesnot support Multiple inheritance however it use
this by using interface.
3-Java doesn't contain any pointer value.
4-Java have no template class.
5-Java doesn't contain any datatype such as
struct,enum,union.
6-Java have no Go to keyword.

Above these points are not supported by java , but
supported by c++.So these are the difference between java
and c++.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is string pool in java?

1028


What is the difference between method and means?

1080


Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?

1091


Is string is a keyword in java?

978


What does it mean that strings are immutable?

1134


What is the difference between the size and capacity of a vector?

1044


What is a class component?

1177


How we can generate random numbers in java?

1134


What is google full form?

1014


What is the destroy method?

1046


What is the unit of plancks constant?

1050


Explain an intermediate language?

974


Can we have return statement in finally clause? What will happen?

969


How do you check if a string is lexicographically in java?

960


Can constructor be protected in java?

970