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 Cpp And Java

Answer Posted / subramanyam reddy.b

java is 100% pure object language because it supports all the features of oops and also overcome the draw backs of c++. all c++ programs can be written like cc programs, c++ support friend functions to access private data members, it is illegal. tell me why we have to use private key word to provide security for our data, but by using friend functions we can access the private date it is illegal.c++ does not support automatic gorbage collection, even though destructors are exists in c++ we need to write the code for destructors, without writing code it wont work. in java we have gorbage collectors.c++ support only seequential access where as java support concurrent access of data by using multi threading concept.java is used to develop distributed applications but c++ for staand alone applicatiuons............ like this we have many advantages with java

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is integer immutable in java?

966


What is an off by one error in java?

944


What are inner classes or non static nested classes in java?

1159


Explain creating threads by implementing runnable class?

1144


What is the purpose of void class?

1051


Explain implementation and how is it different from conversion?

1056


What is hashing principle in java?

1010


How can we access some class in another class in java?

979


What is meant by string is immutable?

1061


When should you make a function static?

970


Explain java coding standards for interfaces?

1092


If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?

1024


What is return data type?

989


What are default methods ?

1021


Explain the difference between string, stringbuffer and stringbuilder in java?

985