Table of Contents
If you're the type of developer who likes to take a quick look
at example code and tweak it for your needs, this chapter should get you
up and running with JSAP
very quickly. We'll
start with a simple example and gradually build upon it in order to
demonstrate some of the basic features of JSAP
.
You'll have to read further for some of the more interesting features,
or you can dive straight into the javadocs.
Everyone else begins with a "Hello, World!" program, so we will, too.
public class Manual_HelloWorld_1 { public static void main(String[] args){ System.out.println("Hello, World!"); } }
[mlamb@morbo]$
java com.martiansoftware.jsap.examples.Manual_HelloWorld_1Hello, World!
Not only is this completely uninteresting, but it doesn't use
JSAP
. Let's tweak it a little.