3、(多选题)假定Tester类:Class classType = Tester.class;Constructor constructor = classType.getConstructor();以下能正确构造一个Tester对象的是()。
A. Class.newInstance();
B. constructor.newInstance();
C. Tester.newInstance();
D. classType.newInstance();
查看答案
3、获取一个类的Class对象后,可以实现类的动态代理、获取父类的泛型类型、获取当前类实现的接口等操作。
A. 对
B. 错
5、以下代码可以使用反射来检索的是()。@Retention( RetentionPolicy.RUNTIME )public @interface Description{String value;}
A. 对
B. 错
----Staring an email----Hairuddin Omar, a maths teacher, has written four emails this morning. Read the opening lines of the emails and then match them to the descriptions of the emails below.
----Endings----Which phrases are an appropriate way to end a formal email? (Three are not.)
A. Yours truly,
B. With best regards,
C. For your information,
D. Yours sincerely,
E. For Attention Of:
F. Best wishes,
G. To Whom It May Concern:
H. Yours faithfully,
I. With many thanks and best wishes,