When doing Java Programming,it is very important to follow a basic Java Template. Below is a file called Template.java
/** * Class for creating a template for a simple Java program * * @author Pat Troy: troy AT uic DOT edu */ // Note the name of the class in the following line MUST // match the name of the file. This is stored in a file // named: Template.java public class Template { public static void main (String[] args) { System.out.println("Begin Java Exection"); System.out.println(""); // put your Java Program here System.out.println(""); System.out.println("End Java Exection"); } } // end of Template class
For this lab assignment, complete the following:
The key to this lab is to move the turtle to the proper location (with the pen UP!) after one shape is drawn and before the next shape is drawn. For the squares shown above, the starting/ending point of each square is the lower left corner. The turtle moves left by a certain amount and then down by that same amount to get in position to draw the next square.
Be sure to change comment with the name of the author to contain the following: