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

Why java is free from garbage values??

Answer Posted / mihirdash

Because in java all declare variables are known to programmer.other wise it create some logical error.let us take an example of c++/c language if declare 100 variable it is so difficult to remember which will i initialise and it will effect my output result .so,that there is no garbage values
in java.

Is This Answer Correct ?    10 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between throw and throws in java?

993


How do you add an arraylist to an array in java?

972


Which collection is ordered in java?

969


What is Java Reflection API? Why it’s so important to have?

1154


What are variable arguments or varargs?

999


What is json parser in java?

1058


What is hashset in java?

1123


What is meant by class?

995


Is vector synchronized in java?

990


What is close method? How it's different from Finalize & Dispose?

1060


What is a singleton class? Give a practical example of its usage.

1097


Why parameters should be passed by reference?

960


Explain differences between collection api and stream api?

1176


What does the append?

988


Differentiate between stringbuffer and string?

1023