Explore topic-wise MCQs in Spring.

This section includes 15 Mcqs, each offering curated multiple-choice questions to sharpen your Spring knowledge and support exam preparation. Choose a topic below to get started.

1.

BeanShell Library dependencies

A. bsh-2.0b4.jar
B. cglib-nodep-2.1_3.jar
C. all of the mentioned
D. none of the mentioned
Answer» D. none of the mentioned
2.

Element which allows you to control the scope

A. lang:jruby
B. lang:language
C. lang: bsh
D. lang:groovy
Answer» C. lang: bsh
3.

Class-based proxies are best way to advise scripted beans

A. True
B. False
Answer» C.
4.

Attribute which specifies all the interfaces

A. script-interfaces
B. lang:bsh
C. lang:script
D. script:bsh
Answer» B. lang:bsh
5.

Interface used to create additional features in groovy based beans

A. GroovyObjectCustomizer
B. GroovyBeanCustomizer
C. GroovyCustomizer
D. None of the mentioned
Answer» B. GroovyBeanCustomizer
6.

XML Element to declare a bean implemented by Groovy

A. lang:groovy
B. lang:jruby
C. beanscript:jruby
D. script:jruby
Answer» B. lang:jruby
7.

XML element to specify the property values for scripting bean

A. lang:property
B. bean:property
C. script:property
D. None of the mentioned
Answer» B. bean:property
8.

XML Element to declare a bean implemented by JRuby

A. lang:jruby
B. aop:jruby
C. beanscript:jruby
D. script:jruby
Answer» B. aop:jruby
9.

In Ruby instance variable begins with

A. #
B. *
C. @
D. None of the mentioned
Answer» D. None of the mentioned
10.

Lightweight java scripting language executing java fragments

A. JRuby
B. Groovy
C. BeanShell
D. All of the mentioned
Answer» D. All of the mentioned
11.

Dynamic Language for java platform to cope up with other languages

A. JRuby
B. Groovy
C. BeanShell
D. All of the mentioned
Answer» C. BeanShell
12.

Scripting language based on Ruby

A. JRuby
B. Groovy
C. BeanShell
D. All of the mentioned
Answer» B. Groovy
13.

Scripting languages supported by Spring?

A. JRuby
B. Groovy
C. BeanShell
D. All of the mentioned
Answer» E.
14.

SCRIPT‚ÄÖ√Ñ√∂‚ÀÖ√Ë‚ÀÖ¬•S_LOCATION_IS_SPECIFIED_BY_ATTRIBUTE?$#

A. script-source
B. xml-source
C. script-annotation
D. none of the mentioned
Answer» B. xml-source
15.

Interface used to create additional features in groovy based beans$

A. GroovyObjectCustomizer
B. GroovyBeanCustomizer
C. GroovyCustomizer
D. None of the mentioned
Answer» B. GroovyBeanCustomizer