单项选择题

A.使用@PostConstruct注解在Bean中
B.实现CommandLineRunner接口
C.实现ApplicationRunner接口
D.A和B都可以