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 does not contain pointers?

Answer Posted / pratiksha

pointers are dangerous and lead to memory leaks, memory
corruption, invalid memory access, e.g. from uninitialized
and improperly initialized variables, indexing out of
bounds, and many bugs due to pointer arithmetic.
References, and other features related to these, avoid all
these problems.

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between heap and stack memory?

1183


Name few java.lang classes introduced with java 8 ?

968


What is the abstract class?

1012


What methodology can be employed to locate substrings inside a string?

940


What language is pass by reference?

1002


What is method reference?

964


Can we sort a map in java?

1020


Is array primitive data type in java?

985


How can I right-justify a string?

1148


What is a dynamic array in java?

1158


Are floats faster than doubles?

1041


How many threads does a core java have?

1047


Can a class with private constructor be extended?

923


What is hash in java?

943


What is the purpose of the strictfp keyword?

1144