【发布时间】:2021-04-07 02:39:05
【问题描述】:
我不知道正确答案是什么,请帮忙,请帮忙,请帮忙,请帮忙,请帮忙,请帮忙
@interface Resource {
String name();
int priority() default 0;
}
/* Loc1 */
class ProcessOrders { }
Which two annotations may be applied at Loc1 in the code fragment? (Choose two.)
A. @Resource(priority=100)
B. @Resource(priority=0)
C. @Resource(name="Customer1", priority=100)
D. @Resource(name="Customer1")
E. @Resource
【问题讨论】:
标签: java interface annotations