All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javatest.lang.SystemTest Maven / Gradle / Ivy

package javatest.lang;

import com.jtransc.io.JTranscConsole;

/**
 * Created by mike on 4/11/15.
 */
public class SystemTest {

    public static void main(String[] args) throws Throwable {
		JTranscConsole.log("SystemTest:");
        systemOutTest();
        systemPropertiesTest();
    }

    private static void systemOutTest() {
        System.out.print("HELLO");
        System.out.println(" WORLD!");
        System.out.println("HELLO WORLD!");
    }

    private static void systemPropertiesTest() {
        System.out.println("java.runtime.name:" + (System.getProperty("java.runtime.name") != null));
        System.out.println("path.separator:" + (System.getProperty("path.separator") != null));
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy