There are two important bean lifecycle methods. The first one is setup which is called when the bean is loaded in to the container. The second method is the teardown method which is called when the bean is unloaded from the container.
Interview Questions and Answers pdf free download for freshers beginners experienced, Multiple Choice Questions with Answers Practice, Placement Papers