在Spring中,可通过注解@Value实现set方式注入,以下关于@Value使用正确的是( )
A@Value(Java) private String courseName;
B@Value="Java" private String courseName;
C@Value("Java") private String courseName;
D@Value=Java private String courseName;
A@Value(Java) private String courseName;
B@Value="Java" private String courseName;
C@Value("Java") private String courseName;
D@Value=Java private String courseName;