Quote:
Originally Posted by wrholt
4) The output the expected values (what you expect to see) (The package 'system.out' provides the methods 'system.out.print' and 'system.out.println'. They print the arguments that are inside the parentheses. The arguments may be literal constants, or they may be the names of variables. What do literal constants look like? What do variable names look like?)
|
Small correction: the class System* has a static field out whose class** provides methods print and println.
PS You might want to
Code:
import java.awt.Point;
* java.lang.System, to give it its full name.
** java.io.PrintStream