These are to be turned in to the HW1 Drop Box on ANGEL. You can write solutions out by hand and scan them (there is a networked scanner in F-217), or create a file on your computer directly (MSWord or PDF, please . After you have submitted, click on the drop box again to verify that your submission was successful.
"Written assignment" is sometimes a slight misnomer, because occasionally these assignments will include very small programming exercises.
The numbers in [square brackets] are problem numbers from the third edition of Weiss, for those who have that version.
Late days may be used or earned for written assignments.

These problems are for you to think about and convince yourself that you could do them. It would be good practice to actually do them in the next couple of weeks, but you are not required to turn them in.
public class HW1StaticMethods {
public int pi;
public static int psi = 5;
public static int triple(int i) {
return 3*i;
}
public int quadruple(int i) {
return 4*pi;
}
public HW1StaticMethods(int i){
this.pi = i;
}
public static void main(String[] args){
HW1StaticMethods hw1 = new HW1StaticMethods(12);
/*1*/ System.out.println(pi);
/*2*/ System.out.println(psi);
/*3*/ System.out.println(quadruple(6));
/*4*/ System.out.println(triple(7));
/*5*/ System.out.println(hw1.pi);
/*6*/ System.out.println(hw1.psi);
/*7*/ System.out.println(hw1.quadruple(6));
/*8*/ System.out.println(hw1.triple(7));
}