Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Daryl Butler   on Oct 22 In Java Category.

  
Question Answered By: Riley-jack Johnson   on Oct 22

A pointer is a memory  location that contains a reference  to a
variable. That's about it.

Java does not have pointers in the sense that you cannot declare them.
In another sense, every object in Java is a pointer and Java just lets
you treat it as if it were the actual object. You don't have to worry
about deleting the objects  due to garbage collection.

Share: 

 
 
Didn't find what you were looking for? Find more on reference vs pointers Or get search suggestion and latest updates.


Tagged: