From Alice to Java

Some graphical input and output is quite easy in Java. We show a simple example in Listing 2 below. Listing 2 //Save in file HelloWorldGraphic.java. ... The reason for storing the middle initial in a char data type is because while strings can use tens of bytes of memory, the char uses only two bytes (see Table on previous page). ... ................
................