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?

Answers were Sorted based on User's Feedback



why pointer is not used in java?..

Answer / 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

why pointer is not used in java?..

Answer / arun

Java is the language best known for its security
features.Programmer cannot find the physical address of any
variable or object at any case in java and prevents the
programmer or user from accessing the physical address.Hence
if java provide the advantage(disadvantage) of using
pointers in programs there is chance of getting lot of
security flaw, so java does not support pointers.

Is This Answer Correct ?    9 Yes 0 No

why pointer is not used in java?..

Answer / cmadhu2008

Java language have pointer but controlled by itself not to
do any thing by programmer,if it was be available then
security will be break that's why

Is This Answer Correct ?    10 Yes 2 No

Post New Answer

More Core Java Interview Questions

What are the advantages of arraylist over arrays?

0 Answers  


where to use join method and explain with real time senario?and programatical explenation also..

1 Answers   TCS,


What is a string what operation can be performed out with the help of a string?

0 Answers  


Is null function in java?

0 Answers  


What is locale in java?

0 Answers  


How to create a base64 decoder in java8?

0 Answers  


Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.

0 Answers   Amdocs,


What is the java project architecture?

0 Answers   IBM,


Can a class have multiple superclasses?

0 Answers  


Explain the private protected method modifier?

0 Answers  


Define locale.

0 Answers  


Give an example of call be reference significance.

0 Answers   Agilent,


Categories