Java Reference
In-Depth Information
This version of the println() method prints CRLF to the output stream and has no parameters.
B
N OTE
The println() method always throws a java.io.IOException exception. For all print
values, the println() method returns no value.
The println(java.lang.String value) Method
public void println(java.lang.String value)
throws java.io.IOException
This version of the println() method prints the passed-in String value to the output stream,
followed by a CRLF.
It has one parameter:
java.lang.String
The println(boolean value) Method
public void println(boolean value)
throws java.io.IOException
This version of the println() method prints the passed-in boolean value to the output stream,
followed by a CRLF.
It has one parameter:
boolean
The println(char value) Method
public void println(char value)
throws java.io.IOException
This version of the println() method prints the passed-in char value to the output stream, fol-
lowed by a CRLF.
It has one parameter:
char
The println(int value) Method
public void println(int value)
throws java.io.IOException
This version of the println() method prints the passed-in int value to the output stream, fol-
lowed by a CRLF.
 
Search WWH ::




Custom Search