CSC2310 Assignment 0 5 points due 8/29/01 Dr. Harrison Fall 2001

  1. unpack the JDK and create a "javarules" program similar to the example on page 28. This will show that you can edit, compile and execute a Java program.



  1. Write a similar program using an object named Word. The "Word" object should be created with a string (i.e. Word w = new Word("hello");) and have a print method that invokes System.out.print() to print the word. Have the program print the same "Java Rules" string that the program 1) creates.




The sources for both programs (there is no input) and the output should be printed and the sources and class files should be supplied on a disk. Please label your work.