why pointer is not used in java?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which software is used for java programming?

538


Why should I use abstract class?

548


What is difference between final and finally in java?

567


What is indexof in java?

500


What is string pooling concept?

539






How do you identify if jvm is 32-bit or 64-bit from java program?

521


What are the two types of java?

504


What is the relationship between class and object?

512


Can we override constructors in java?

664


Why does java does not support multiple inheritance? Explain

535


Is null function in java?

550


How do you compare characters in java?

507


Explain the difference between extends thread vs implements runnable in java?

521


Explain reverse a linked list recursive java solution?

510


What class allows you to read objects directly from a stream?

849