Hi James,
Yes
You have to assume that everything else needed to run the code example exists and is correct. Only analyze the snippet, as it's presented, to determine wether or not it will fail.
Hope that helps.
------------------
Jane Griscti
Sun Certified Programmer for the Java� 2 Platform