Share this post! | Vote this! |
|
This tutorial covers the following...
java.lang.System
PrintStream has many print method overloads that accept different types
println adds a line terminator at the end of the argument
The err field represents a PrintStream object
The 'in' field represents the standard input stream
Array copy method
Terminates the running program and the current JVM
Returns the computer time in milliseconds
public static long nanoTime(): provide more precision, i.e. in nanoseconds
Using System.getProperty(String key) to retrieve system properties
Get Name of User Currently Logged In to the Computer
Create a user-defined property or change the value of the current property
Returns a default value if the specified property does not exist
Returns all system properties
Exiting a Java program
Terminate virtual machine using System class
Redirect the output of System.out to a file.
Calculate process elapsed time more...
java.lang.System
PrintStream has many print method overloads that accept different types
println adds a line terminator at the end of the argument
The err field represents a PrintStream object
The 'in' field represents the standard input stream
Array copy method
Terminates the running program and the current JVM
Returns the computer time in milliseconds
public static long nanoTime(): provide more precision, i.e. in nanoseconds
Using System.getProperty(String key) to retrieve system properties
Get Name of User Currently Logged In to the Computer
Create a user-defined property or change the value of the current property
Returns a default value if the specified property does not exist
Returns all system properties
Exiting a Java program
Terminate virtual machine using System class
Redirect the output of System.out to a file.
Calculate process elapsed time more...
0 comments:
Post a Comment