Quick Index

Overview


The challenge is to learn multiple approaches to compiling and running Java programs.

This challenge will have two parts. First a console approach, and then a script approach.

Objectives


The objectives of this assignment are (relative to Java):


Note: by "JAVA" file we mean a file ending in extension "java", e.g. "Foo.java"

Part I -- Console


For this part of the drill we'll compile and run using the console.

Here are the steps:

To Start:


Like the example, you will:


The output should be like this:

Test: testSimpleConstruction
Constructed Rectangle with width=3, height=2
My Crazy Rec -- width=3 height=2 -- area=6 Perimeter=10

Test: testTripleSize
Constructed Rectangle with width=3, height=2
Outer Frame (Rectangle) -- width=3 height=2 -- area=6 Perimeter=10

etc


Part II -- Scripts


For this part of the drill we'll compile and run using scripts.

To Start:


Grading


Typically we use standard rubrics (grading rules). However, this assignment is atypical, therefore it will have these specific grading rules:


Notes:
The program output does not need to be sumitted. The grader can rerun you CLASS files to generate output.