Loading, please wait...

Java Spring and Spring boot MCQ Quiz (Multiple Choice Questions And Answers)

Search here for MCQs

Are you preparing for the next job interviews? If yes, trust me this post will help you also we'll suggest you check out a big collection for Programming Full Forms that may help you in your interview:

List of Programming Full Forms 

21. ClassPathXmlApplicationContext searches .xml file in:

  • specific location within filesystem
  • anywhere in project path (including jar file)
  • anywhere in classpath (including jar file)
  • in WEB_INF folder

22. @Component annotation on class indicates

  • that a bean should be created for the class
  • that a bean should not be created for the class
  • that autowiring should be enabled for the class
  • that autowiring should not be enabled for the class

23. In AOP, the job of an aspect is called___________

  • point-cut
  • advice
  • join-points
  • weaving

24. The process of applying aspects to a target object to create a new proxied object is called____________

  • point-cut
  • weaving
  • AspectJ
  • advice

25. Spring provides features: 1 .Resource management 2 .Exception handling 3 .Transaction participation 4 .Resource unwrapping 5. Abstraction for BLOB and CLOB handling

  • 1,2,3,4,5
  • 1,3,4,5
  • 1,2,4,5
  • None