@Autowired by Type By default, Spring does auto-wire by type . we have a class type UserDao and it’s an implementation of IUserDao interface.
@Autowired by Type By default, Spring does auto-wire by type . we have a class type UserDao and it’s an implementation of IUserDao interface.