View Single Post
  #4  
Old January 18, 2013, 01:23 AM
pjt33's Avatar
pjt33 pjt33 is offline
Diamond
 
Join Date: Aug 2009
Location: Valencia, España
Posts: 2,600
Native Language: Inglés (en-gb)
pjt33 is on a distinguished road
Quote:
Originally Posted by wrholt View Post
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

Last edited by pjt33; January 18, 2013 at 01:27 AM.
Reply With Quote