在Spring中,以下关于注解@Component使用正确的是( )
A@Component public class Tiger
B@Component private Tiger tiger;
C@Component("Tiger") private Tiger tiger;
D@Component="Tiger" private Tiger tiger;
A@Component public class Tiger
B@Component private Tiger tiger;
C@Component("Tiger") private Tiger tiger;
D@Component="Tiger" private Tiger tiger;