Assignment 5

Put a comment at the top of your files with your name, section (MW orTTH) and assignment number. When complete, email them as attachments to pegramitp120@gmail.com.

If your last name has 6 letters or less, do the following:

Create a class with a static method. The static method should utilize a static constant. Invoke this method from outside of the class and demonstrate the effect of the method through suitable output.

If your last name has 7 or more characters, do the following:

Create a class with a method that takes only primitive types as parameters and alters the values of one or more of these parameters. From outside of the class, invoke the method using variables as argument and demonstrate how the value of the varialbes used in the calling of the method are not changed by the method.

Revised: April 13, 2008