请教几道scjp问题
sngnr 2002-03-03 07:32:02
1.which is true?
A.An annoymous innerclass can implement multiple interfaces
B.An annonymous innerclass can access the final variable in any enclosing scope
C.Construction of an instance of a static innerclass requires an instance of the enclosing outer class
2. any statment that may throw an Exception must be enclosed in a try block.这句对吗?
3.匿名内部类可以实现多个interfaces吗?
4.(325) which two cannot directly causea thread to stop executing?
A.exiting from a synchronized block
B.calling the wait method
C calling the notify method
D.calling a read method from a InputStream object
E.calling the setPriority method on a Thread object
5(334)You are going to read some rows one by one froma file that is stored in your hard drive.
How do u do it?
A.BufferedReader
B InputStreamReader
C.FileReader