List of usage examples for java.lang System out
PrintStream out
To view the source code for java.lang System out.
Click Source Link
From source file:MainClass.java
public static void main(String[] args) { System.out.println("Hello".hashCode()); System.out.println("Hello".hashCode()); }
From source file:MainClass.java
public static void main(String[] args) { System.out.println(validateAddress("123, Street")); }
From source file:Main.java
public static void main(String[] args) { System.out.println(StrictMath.random()); System.out.println(StrictMath.random()); System.out.println(StrictMath.random()); }
From source file:Main.java
public static void main(String... args) { System.out.println("\nName Length is:" + len("java2s.com")); }
From source file:Main.java
public static void main(String[] args) { System.out.println("Decimal 10:" + Short.decode("10")); System.out.println("Octal 10:" + Short.decode("010")); System.out.println("Hex F:" + Short.decode("0XF")); System.out.println("Negative Hex F:" + Short.decode("-0XF")); }
From source file:OutputToConsole.java
public static void main(String[] args) { System.out.println("console"); }
From source file:Main.java
public static void main(String[] args) { System.out.println(Integer.toBinaryString(10)); System.out.println(Integer.toBinaryString(-10)); System.out.println(Integer.toBinaryString(10000)); System.out.println(Integer.toBinaryString(-10000)); }
From source file:Main.java
public static void main(String[] args) { System.out.println("Decimal 10:" + Byte.decode("10")); System.out.println("Octal 10:" + Byte.decode("010")); System.out.println("Hex F:" + Byte.decode("0XF")); System.out.println("Negative Hex F:" + Byte.decode("-0XF")); }
From source file:MainClass.java
public static void main(String[] args) { System.out.print(12); System.out.print('g'); }
From source file:Main.java
public static void main(String args[]) { System.out.println(stripGarbage("A good String")); }