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 / ashish saran

There are many differences between C++ and Java, but they are all having some kind of substitute for that in one another. for eg, Java is missing pointers but there are collections framework in Java for implementing data structures.Java is missing multiple inheritance but has interfaces for that.

The architecture of both languages differ. In C++ header files are used, while the whole architecture of Java depends on Classes(there are also advantages to that).

However the main differences are of Multi-Threading and Platform Independence which are only in Java. Also it is more Programmer friendly.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Variables used in a switch statement can be used with which datatypes?

997


hi am an engineering student and my next plan is for ms in either in us or australia i got my passport but i dont know anything bout visa can u give brief idea 1)How to get prepared for visa and 2)How to apply for top universities and 3)How to pay the fee and so on These all are basic questions plz give me a clear idea

1916


When would you use a static class?

981


What is the purpose of static methods and static variables?

1071


Can we create an object of static class in java?

1016


Is there any sort function in java?

1048


Explain the differences between static and dynamic variables?

1148


How can you make a class serializable in java?

988


How to display arraylist values in java?

1009


Convert a BST into a DLL and DLL to BST in place.

1113


What is an array length?

903


Explain the difference between throw and throws in java?

1000


What is treeset and treemap in java?

1069


When should we create our own custom exception classes?

1014


What is stack example?

1024