![]() |
VOOZH | about |
More Methods:
Syntax :public PrintStream printf(Locale l,
String format,
Object... args)
Parameters:
l - The locale to apply during formatting. If l is null then no localization is applied.
format - A format string as described in Format string syntax
args - Arguments referenced by the format specifiers in the format string.
Returns:
This output stream
Throws:
IllegalFormatException
NullPointerException
Output:
GeeksforGeeks
Syntax :public PrintStream printf(String format,
Object... args)
Parameters:
format - A format string as described in Format string syntax
args - Arguments referenced by the format specifiers in the format string.
Returns:
This output stream
Throws:
IllegalFormatException
NullPointerException
Output:
GeeksforGeeks
Syntax :public void println()Output:
GeeksforGeeks
Syntax :public void println(boolean x)Output:
true
Syntax :public void println(char x)Output:
g
Syntax :public void println(char[] x)Output:
GEEK
Syntax :public void println(double x)Output:5.42762Syntax :public void println(float x)Output:5.168502fSyntax :public void println(boolean x)Output:5
Syntax :public void println(long x)Output:123456789Syntax :public void println(Object x)Output:java.io.PrintStream@15db9742Syntax :public void println(boolean x)Output:GeeksforGeeksSyntax :public void println(String x)Output:BCD
Syntax :public void write(byte[] buf,Output:
int off,
int len)
Overrides:
write in class FilterOutputStream
Parameters:
buf - A byte array
off - Offset from which to start taking bytes
len - Number of bytes to write
BCDSyntax :public void write(int b)
Overrides:
write in class FilterOutputStream
Parameters:
b - The byte to be written
A