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 difference between C++ & Java?

Answer Posted / gyana

You can say as java is the advance version of the C++.You
can made differences between this two because java do some
modification in the C++ and released it.So there are 6
differenes between java and c++.these are

1-Java does not support predessor.
2-Java doesn't contain any data types such as enum,
struct,union.
3-java doesnot support multiple inheritance however it
supports this by using interface.
4-Java have no template class.
5-java is platform indepedent and c++ is plotform
indepedent.
6-java donot contain any pointer values.
7-java java doesnot contain goto keyword.

these above features are not supported by java but
supported by C++.So these are the differences between java
and C++.

Is This Answer Correct ?    61 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is Java a dying language?

1081


How do you input a string in java?

1075


Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain

1928


What is length in java?

1011


How do you add an element to a hashset in java?

1007


Assume a thread has lock on it, calling sleep() method on that thread will release the lock?

1102


Can we override static methods in java?

1068


Which oo concept is achieved by using overloading and overriding?

1005


What are access specifiers available in java?

1003


Why is java so important?

1119


What exceptions occur during serialization?

1084


What is the function of log?

992


Explain about interrupt() method of thread class ?

1121


Does importing a package imports its sub-packages as well in java?

966


What is java abstraction with example?

1061