If a synchronized method throws an exception the thread give up the lock.. TRUE or FALSE TRUE, From JLS 17.3
...
If execution of the method's body is ever completed, either normally or abruptly, an unlock action is automatically performed on that same lock.
Anonymous class cant be declared as static ... TRUE or FALSE TRUE, From JLS 15.9.5:
15.9.5 Anonymous Class Declarations
An anonymous class declaration is automatically derived from a class instance creation expression by the compiler.
An anonymous class is never abstract (�8.1.1.1). An anonymous class is always an inner class (�8.1.2); it is never static (�8.1.1, �8.5.2). An anonymous class is always
implicitly final (�8.1.1.2).
HIH
------------------
Valentin Crettaz
Sun Certified Programmer for
Java 2 Platform