Activity of Aug. 18, 2010

Post date: Aug 18, 2010 1:9:56 AM

Rather than complete a new warm-up today, we will review warm-ups from the recent past. Fear not; they will return tomorrow.

The example we worked today turned out to be a bicycle rather than the rock. ConsolidatedMineralMatter doesn't support as good an is-a relationship for Rock as Vehicle does for a bicycle. WordNet adds wheels and pedals to the bicycle for has-a modelling.

As you continue to work on Project 2, you will encounter compilation errors. They can be difficult to decipher, especially when displayed in the standardly configured proportional font like this:

...\HelloWorld.java:8: '(' expected

public static void ma in(String[] args) {

^

1 error

The carat (^) will seldom accurately mark the offense. To remedy this, configure the text in the output window to be displayed in a fixed-width font.

    1. Navigation to Plugins | NppExec | Change Console Font...

    2. Specify Courier New as the font.

    3. Click OK.

The carat should now be placed accurately in error messages.

...\HelloWorld\HelloWorld.java:8: '(' expected

public static void ma in(String[] args) {

^

1 error