Example usage for java.lang System out

List of usage examples for java.lang System out

Introduction

In this page you can find the example usage for java.lang System out.

Prototype

PrintStream out

To view the source code for java.lang System out.

Click Source Link

Document

The "standard" output stream.

Usage

From source file:Main.java

public static void main(String[] args) {
    System.out.printf("%1$s, %2$s, and %3$s", "A", "B", "C");
}

From source file:Main.java

public static void main(String arg[]) {
    System.out.println(new java.rmi.dgc.VMID().toString());
}

From source file:Main.java

public static void main(String[] args) {
    System.out.printf("%3$s, %2$s, and %1$s", "A", "B", "C");
}

From source file:Main.java

public static void main(String[] args) {
    System.out.println(Long.signum(-10));
}

From source file:Main.java

public static void main(String[] args) {
    System.out.println(Short.parseShort("10", 8));
}

From source file:Main.java

public static void main(String[] args) {
    System.out.println(Boolean.TRUE);
}

From source file:Main.java

public static void main(String[] args) {
    System.out.println(Boolean.FALSE);
}

From source file:Main.java

public static void main(String[] args) {
    System.out.printf("%1$s, %<s, %<s, %2$s, and %<s", "A", "B");
}

From source file:Main.java

public static void main(String[] args) {
    System.out.println(System.getProperty("user.dir"));
}

From source file:Main.java

public static void main(String[] args) {
    System.out.println("NaN:" + Float.NaN);
}