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

License:asdf

public static void main(String[] argv) {

    System.out.println(">" + "  asdf  ".replaceAll("\\b\\s{2,}\\b", " ") + "<");
}

From source file:MainClass.java

public static void main(String[] args) {
    System.out.println("Is the Latin symbol z a lowercase letter? " + Character.isLowerCase('z'));

    System.out.println("Is the Latin symbol a an uppercase letter? " + Character.isUpperCase('a'));

}

From source file:Main.java

public static void main(String[] argv) {
    System.out.println("is white space:" + Character.isWhitespace('a'));
    System.out.println("is white space:" + Character.isWhitespace('\n'));
    System.out.println("is white space:" + Character.isWhitespace('\t'));
}

From source file:Main.java

public static void main(String[] args) {
    System.out.println("StrictMath.E:" + StrictMath.E);

}

From source file:Main.java

public static void main(String[] args) {
    System.out.println("exit...");
    System.exit(0);
}

From source file:Main.java

public static void main(String[] args) {

    System.out.println(Float.TYPE);
}

From source file:MainClass.java

public static void main(String args[]) {
    System.out.printf("% d\n% d\n", 547, -547);
}

From source file:Main.java

public static void main(String[] args) {

    System.out.println(Double.NaN);
}

From source file:Main.java

public static void main(String[] args) {

    System.out.println(Double.toString(1.2));

}

From source file:Main.java

public static void main(String[] arg) {

    System.out.println("from java2s.com");
}