Big Java example project "triangle1"

You can use this project as follows:

 - invoke the main method of the driver class TriangleTest by right-clicking 
 on the class representation and selecting the main method.
 - interactively create Triangle objects of differing widths (eg. 3 & 15) 
 - call the toString method of each method
 
 Note: A bug in the current version of BlueJ means that the newline characters 
 are not shown when you inspect the result of calling toString.  You can however
  show the correct output in a number of other ways.  One way is to use the
  "Evaluate Expression" menu option which lets you execute Java statements. Select
  the option of a statement that does not return a result and type in:
  
  System.out.println(triangle1.toString())
  
  If the name of your triangle object is not triangle1 change the above line to suit.
 
  
This project illustrates concepts covered in Big Java, Chapter 6 
"Iteration".
  
 - to be able to program loops with the while, for, and do statements
 - to avoid infinite loops and off-by-one errors
 - to understand nested loops

