20-CS-694 Advanced Programming Techniques Spring 2012
Hints for Homework Assignment 2

Interfaces, Exceptions, Graphics, Animation, Threads, Reflection, Networking, RMI, JDBC, JNI

Exceptions for Control - Declarative Style

Due: April 17, 2012 (submit instructions: here)

Interleave Choose statements with constraints
    Instead of 25 Choose statements followed by all constraints, interleave 5 Choose statements associated with houses, constraints associated with houses, 5 Choose statements associated with positions, constraints associated with positions, 5 choose statements associated with pets, constraints associated with pets, 5 Choose statements associated with smoking, constraints associated with smoking, 5 Choose statements associated with drinking, constraints associated with drinking.

More Help