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 pointer is not used in java?

Answer Posted / malligontla

The Java Language the referencing and dereferencing of
objects is handled for you automatically. Java does not
allow you to manipulate pointers or memory addresses of any
kind. It does not allow you to cast object or array
references into integers and It does not allow you to do
pointer arithmetic. It does not allow you to compute the
size in bytes of any primitive type or object. There are two
reasons for these restrictions:

Is This Answer Correct ?    14 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we override constructors in java?

1207


What is public/private protected in java?

1080


How do you declare a string variable?

1072


What is literal example?

1007


Can string be considered as a keyword?

1080


What do you understand by the term singleton?

1037


Can we use return in constructor?

995


When is an object subject to garbage collection?

1147


What is the difference between comparison done by equals method and == operator?

1063


Write a program to reverse a number in java?

1129


What is the name of the java compiler?

1092


How to handle a web browser resize operation?

1126


How many types of memory areas are allocated by jvm?

1084


What happens if we don’t define serial version uid?

1078


Can I import same package/class twice?

1006