CS 3304: Comparative Languages
Data Types
[
Course Documents
] : [
Data Types
]
Previous
Contents
Next
Keyword Index
Pointer Examples (cont.)
FORTRAN 90 Pointers
Can point to heap and non-heap variables
Implicit dereferencing
Special assignment operator for non-dereferenced references
Java--only references
No pointer arithmetic
Can only point at objects (which are all on the heap)
No explicit deallocator (garbage collection is used)
Means there can be no dangling references
Dereferencing is always implicit