¥Open
your Entry class into the DrJava Interactions pane.
¥Compile
your program and evaluate:
¥
Entry e = new Entry("Corky", "DH 3104", "x
6042");
e
¥Add
the definition of toString()
from the previous slide to your Entry
class.
¥Compile
your program and evaluate:
¥ Entry e = new Entry("Corky", "DH
3104", "x 6042");
e