JRJC - How To Write Stuff to the Screen

If you want to write "Save the Skeet!" to the screen, you would probably do this:

   System.out.println("Save the Skeet!");

"System" is a Java class that gives you an interface to the computer your program is currently running on. "out" is an object in "System" that handles output to your console (in Windows, you might call this your DOS window). "println" is a method for transfering text to the console followed by a line break. If you don't want the line break, use the method "print" instead.

© 2000 Paul Wheaton