Reviewing some basic java.