English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

3 answers

Object references in Java are similar to pointers in C or C++. However, Java does not support pointer arithmatic.

Linked list is a data structure, in which each element in the list points to the next/ previous/ both elements in the list. Its often implemented by pointers.

2006-07-01 08:43:42 · answer #1 · answered by ritesh10dulkar 2 · 1 0

No. Pointers are direct access to a memory location. A linklist is a way of viewing memory and data stored there.

2006-07-01 10:52:51 · answer #2 · answered by Timothy H 2 · 0 0

All objects in Java are referenced by pointers, even though there is not the -> or *, as in C for accessing pointers. Primitives are passed by value.

I hope this helps.

2006-07-01 10:54:33 · answer #3 · answered by Titus W 2 · 0 0

fedest.com, questions and answers