Week 4/39

Exercises on JOOS

  1. Write and execute tiny JOOS programs that:
    • print "Hello World";
    • sort a list of integers; and
    • implement simple binary search trees.
  2. (Aarhus students only.) Compare JOOS to the BETA language. Which concepts are similar? How difficult would it be to translate a JOOS program into a BETA program?
  3. Look at the java.awt.* classes. What does the class hierarchy look like? Discuss how this is supposed to work. Try to understand AwtDemos/ScrollableScribble.java.

Maintained by Laurie J. Hendren. Last modified Fri Sep 17 07:25:04 EDT 2004. [HOME]
Compiler research projects: Soot, a Java analysis, optimization and transformation toolkit ---- abc, an AspectJ compiler.