Introduction To Java - MFC 158 G

 Fall 2000

 

 

Week 8 Assignment  - October 24, 2000

 

 

1.       Complete the homework assigned from last week – due on Wed November 1, 2000 midnight

2.       Read Chapter 9 and try the accompanying example code

 

*** Avoid losing points on all future projects ***

Please follow these instructions…

 

1.       Make sure to put the standard header in your programs (see below)

2.       Programs that don't compile will lose as much as 50% of the score when grading

3.       If you write an applet, you must supply the HTML or you will lose 10% of the score (that IS part of what makes up your running program)

4.       Make sure that attachment file names are the same as the class name (including case) when submitting.

5.       If code from the book is part of your work, site that fact in the source code.

6.       Don't wait until 2 days before a project is due to get help!!!!

 

Using Java style comments:

 

---------------Sample code submission---------------

 

/////////////////////////////////////////////////////////////////////////////

// Jeff Fineberg                                                   //

// Student # 1322-5677                                      //

//  MFC 158G                                                     //

//  Chapter 2 - Exercise 2.20                              //

//  Welcome2.java                                              //

/////////////////////////////////////////////////////////////////////////////

 

public class Welcome2 {

   public static void main( String args[] )

   {

      System.out.print( "Welcome to " );

      System.out.println( "Java Programming!" );

            System.out.println(args[0]);

   }

}

 

------------End of sample code submission --------------

 

-         Be sure to site the source of any code you may use as a starting template