[求助]谁知道这个问题的答案!!!
1. Given:
Integer i = new Integer (42);
Long 1 = new Long (42);
Double d = new Double (42.0);
Which two expressions evaluate to True?
A. (i == 1)
B. (i == d)
C. (d == 1)
D. (i.equals (d))
E. (d.equals (l))
F. (i.equals (42))
2.
Which statement is true?
A. An anonymous inner class may be declared as final
B. An anonymous inner class can be declared as private
C. An anonymous inner class can implement multiple interfaces
D. An anonymous inner class can access final variables in any enclosing scope
E. Construction of an instance of a static inner class requires an instance of the enclosing outer class.
[此贴子已经被作者于2005-10-4 19:32:01编辑过]