APCS Java Subset

ap.java.lang
Class System

java.lang.Object
  extended byap.java.lang.System

public class System
extends java.lang.Object

This class supplies System.out for the APCS Java subset. Only two methods for System.out are required in the subset: print and println.

These methods print strings without and with, respectively, a newline/carriage-return. In other words, use System.out.print to print a string and keep the output cursor on the same line (for example, for more output). Use System.out.prinln to print a string and then position the output cursor at the beginning of the next line.


Field Summary
static java.io.PrintStream out
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

public static java.io.PrintStream out

unofficial documentation for the APCS Java Subset