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:SquareRoot.java
public static void main(String[] args) { System.out.println(Math.abs(1 - 100)); }
From source file:MainClass.java
public static void main(String[] arg) { System.out.println(Integer.parseInt("100")); }
From source file:Main.java
public static void main(String[] args) { System.out.println(Long.MIN_VALUE); System.out.println(Long.MAX_VALUE); }
From source file:Main.java
public static void main(String[] argv) { System.out.println(byteToHex((byte) 123)); }
From source file:Main.java
public static void main(String[] args) { System.out.println(Math.max(2, 4)); System.out.println(Math.max(1.4f, 1.3f)); System.out.println(Math.max(1.34, 1.45)); System.out.println(Math.max(1l, 5l)); }
From source file:Main.java
public static void main(String[] args) { System.out.println(Short.MIN_VALUE); System.out.println(Short.MAX_VALUE); }
From source file:Main.java
public static void main(String[] argv) { System.out.println("\r\n|\r|\n|\n\r".replaceAll("(\r\n|\r|\n|\n\r)", "<br>")); }
From source file:Main.java
public static void main(String[] args) { System.out.println(Float.MIN_VALUE); System.out.println(Float.MAX_VALUE); }
From source file:MainClass.java
public static void main(String args[]) { System.out.printf("%s\n%s\n", "Welcome to", "Java Programming!"); }
From source file:Main.java
public static void main(String[] args) { System.out.println(Integer.MIN_VALUE); System.out.println(Integer.MAX_VALUE); }