Java Source Codes
Here are a few examples of Java programs.
Currently available software includes:
-
args,
a program which
demonstrates command line argument retrieval.
-
collatz,
a program which
reads an integer from the user and computes the Collatz sequence
based on that integer.
-
hello,
a program which
prints out "Hello, world!".
-
linpack_bench,
a program which
carries out the LINPACK benchmark.
-
math_intrinsics,
a program which
demonstrates the use of the intrinsic functions provided by the Math package.
-
pnz,
a program which
plays the PNZ game.
-
timestamp,
a library which
prints the current YMDHMS date as a timestamp;
You can go up one level to
the main web page.
Last revised on 28 June 2008.