Why dont you use pointers in Java?

In: JAVA
[Edit]

You do not use pointers in Java because the language designers decided to abstract memory management to a higher level in Java than in C. The reason for this is that it is easy to make mistakes using pointers and other lower level memory management techniques. These mistakes can lead to bugs. hard to read code, memory leaks that waste system resources, and security issues. Instead for the most part Java takes care of memory management for the user who can instead specify behavior though the object oriented techniques that are safer and easier to understand. The downside is that the programmers lose some control and flexibility in using memory. Also, programs using Java take a small performance hit in some cases because of the extra work Java has to do to manage memory itself.

Answer

They are, however in Java they are called references.

Improve Answer Discuss the question "Why dont you use pointers in Java?" Watch Question

First answer by Lonjerpc. Last edit by Lonjerpc. Contributor trust: 144 [recommend contributor]. Question popularity: 31 [recommend question]

Research your answer:

Answers.com > Wiki Answers > Categories > Technology > Computers > Computer Programming > JAVA > Why dont you use pointers in Java?

Our contributors said this page should be displayed for the questions below. (Where do these come from)
If any of these are not a genuine rephrasing of the question, please help out and edit these alternates.
Pointers in java?  Internals of java?  Why pointers are not in java?  Why pointers not used in Java?  Why does java not use pointers.?  Why pointers are not used in java?  Why you dont use pointers in java?  Why don't you use pointers in Java?  Why you doesn't use pointers in java?  What are used in java in place of pointers?