[Index of weekly notes, Previous week, Next week, All Notes]

ILS 614 (Winter 96/Weymouth)

Week 4: What, Where, How: Details (Version 2)

This Class meeting will concentrate on the "where, what, and how" of the execution of a java program. It is largely an in-class exercise.

Summary of Readings
For next week I want you to start to browse the libraries of objects in Java. You should read the descriptions of all these objects in the java packages:

Assignment: The assignment for this week is due at the start of class next week, on Thursday, Febuary 1, 1996.


Notes

Review of the statements in this program, which produces this output.

Assignment

The last mini-assignment, for next week, is to describe this program. For each statement in this program, write a brief sentence describing what the statement does. If you have no idea, guess. Run the program first, to get an idea of how the user interface works. Then try to figure out what is going on. Do the best you can. A couple of hints: look for main, the "action" method of a button object gets called after the button is clicked (with the mouse). Many of the methods are system methods, you may have to look them up, but most of the time you can guess, based on the name. Some of this you may not understand, just do the best you can. You will get a "satisfactory" for turning in anything at all and "excellent" if you get more then 80 percent of the statements. Type no more then one sentence ior comment per line, often a short phrase or word will suffice. When you do not know, guess. Please turn in a hard copy of the annotated code in class or at my mail box by the end of class next week (February 8, 1996).



The url of this page is: http://www.sils.umich.edu/~weymouth/java/class/lectureNotes/lectureNotes04.html
Last modified on February 1, 1996.
Report spelling errors, corrections, sugestions, and additions to Terry E Weymouth.
weymouth@umich.edu