0 votes
in Spring by

Which annotation denotes a method that will be invoked after bean instantiation?

a) @PostConstruct

b) @Autowired

c) @Bean

d) @Before

1 Answer

0 votes
by
a) @PostConstruct

Explanation:

@PostConstruct is a JSR-250 annotation indicating the method to be executed after dependency injection is done to perform any initialization.
...