Happy Independence Day! 

Some Notes on Grading 

There have been eight lab assignments thus far and two homework assignments. 

Here's what we're looking for in each case, in reverse order: 

--(Lab Eight: Inheritance, Polymorphism, Dunamic Method Lookup)--

1. In lab we developed a program demonstrating the first two. 

   It was composed of three classes: Horse, Unicorn and Example. 

   Zip them together and submit them to Lab Eight dropbox in OnCourse. 

2. We also developed a program demonstrating the third feature. 

   It also had three classes: Horse, Unicorn and Example. 

   The code was a bit different because different aspects were emphasized. 

   Zip these three classes together in a separate archive. 

   Then submit them to Lab Eight dropbox in OnCourse. 

3. Finally we developed a way to hold Circles and Rectangles in an array. 

   This program had four classes: Shape, Circle, Rectangle and Example. 

   Zip these classes together in an archive and submit them to OnCourse. 

Thus Lab Eight dropbox in OnCourse should have three archives: 

   (a) one that uses Horse, Unicorn, Example 

   (b) another one also with a Horse, Unicorn, Example

   (c) and a third one with Shape, Circle, Rectangle, Example

This lab assignment aims to sketch a solution to the question in lecture. 

On Monday refinements will be provided to this solution using 

   -- abstract classes

   -- interfaces

Also on Monday constructor chaining will also be discussed. 

The lab eight notes as written in class are available at:

http://silo.cs.indiana.edu:8346/c212/sum2014/0703b.phps

--(Lab Seven: Modeling.)--

We developed Fraction in class. 

You were given information on how to develop a Student class. 

Turn in Student.java and Fraction.java in OnCourse. 

--(Homework Two: Simple Modeling.)--

You have to define three classes: Point, Line, Triangle. 

Write them in three files and submit them to OnCourse. 

--(Lab Seven: Arrays and Methods.)--

You had to define your own versions of these methods:

  (a) java.util.Arrays.copyOf(int[], int)
  (a) java.util.Arrays.toString(int[])
  (a) java.util.Arrays.sort(int[])

A test program was provided. 

The test program using your definitions needs to be turned in.