From charlesreid1

Line 8: Line 8:


Link: https://charlesreid1.com:3000/cs/java/src/master/arrays/GameEntry.java
Link: https://charlesreid1.com:3000/cs/java/src/master/arrays/GameEntry.java
The default array element will be null, so an empty array of GameEntry objects contains null pointers
Java stores references to addresses in memory.


=Questions=
=Questions=

Revision as of 08:39, 29 May 2017

Notes

Notes from Goodrich et al Data Structures in Java Chapter 4

Basics of Arrays

Building an array to hold a basic object - a GameEntry representing a high score entry in a game.

Link: https://charlesreid1.com:3000/cs/java/src/master/arrays/GameEntry.java

The default array element will be null, so an empty array of GameEntry objects contains null pointers

Java stores references to addresses in memory.

Questions

Questions from Goodrich et al Data Structures in Java Chapter 4