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:Main.java
public static void main(String[] args) { System.out.println(Integer.toHexString(0)); System.out.println(Integer.toHexString(10)); System.out.println(Integer.toHexString(11)); System.out.println(Integer.toHexString(16)); System.out.println(Integer.toHexString(17)); System.out.println(Integer.toHexString(100)); System.out.println(Integer.toHexString(1000)); }
From source file:MainClass.java
public static void main(String[] args) { System.out.println(12); System.out.println('g'); }
From source file:MainClass.java
public static void main(String[] arg) { System.out.println(Integer.MAX_VALUE); System.out.println(Integer.MIN_VALUE); }
From source file:Main.java
public static void main(String args[]) { System.out.println(isAvailable("javax.swing.JComponent")); }
From source file:MainClass.java
public static void main(String[] args) { System.out.println(" OS name: " + System.getProperty("os.name", "not specified")); System.out.println(" JVM Version: " + System.getProperty("java.version", "not specified")); System.out.println(" user.home: " + System.getProperty("user.home", "not specified")); System.out.println(" java.home: " + System.getProperty("java.home", "not specified")); }
From source file:MainClass.java
public static void main(String[] arg) { System.out.println(Integer.toHexString(10)); System.out.println(Integer.toHexString(20)); System.out.println(Integer.toHexString(30)); System.out.println(Integer.toHexString(40)); }
From source file:MainCLass.java
public static void main(String[] args) { System.out.println("Is the Latin symbol 6 a digit? " + Character.isDigit('6')); System.out.println("Is the Tamil symbol corresponding to " + "Unicode value '\\u0beb' a digit? " + Character.isDigit('\u0beb')); System.out.println("Is the Greek symbol Omega a digit? " + Character.isDigit('\u03a9')); System.out.println("Is the Latin symbol A a digit? " + Character.isDigit('A')); }
From source file:MainClass.java
public static void main(String args[]) { System.out.printf("%d\n", 26); System.out.printf("%d\n", +26); System.out.printf("%d\n", -26); System.out.printf("%o\n", 26); System.out.printf("%x\n", 26); System.out.printf("%X\n", 26); }
From source file:MainClass.java
public static void main(String[] arg) { System.out.println("\b"); System.out.println("\f"); System.out.println("\n"); System.out.println("\r"); System.out.println("\t"); }
From source file:Main.java
public static void main(String[] args) { System.out.println(testNumber("2.2")); }