使用@Autowired注解实现注入时,可以没有setter方法。

分类: SSM第六第七单元 发布时间: 2024-01-21 03:06 浏览量: 3

使用@Autowired注解实现注入时,可以没有setter方法。

A.正确

B.错误

正确答案是A