Commit 32138bae authored by Siyu Zhang's avatar Siyu Zhang
Browse files

Lab0

parent f0520490
/* Lab0.java
compilation: C:\> javac Lab0.java
sample execution: C:\> java Lab0 Tim Hoffman hoffmant@pitt Computer Science
*/
public class Lab0
{
public static void main( String[] args )
{
for (int i=0 ; i<args.length ; ++i)
System.out.format( "args[%d] %s\n", i, args[i] );
System.out.println("I've done.");
}
// add a println or format statement here that idicates you have successfully
// compiled and executed this program with this print statement
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment