MCQGeeks
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Junit
Junit Basic
Quiz 1
Solution
Q.1.
The biggest advantage of mock objects over in-container testing is that mocks don’t require a ________ container in order to execute tests.
a) Running
b) Closed
c) Open
d) Static
Q.2.
___________ contains helper classes for ant properties.
a) org.apache.tools.ant.property
b) org.apache.tools.ant.types
c) org.apache.tools.ant.util
d) org.apache.tools.ant.taskdefs
Q.3.
____________ is the interface to a class to get a property in apache ant.
a) ParseNextProperty
b) PropertyExpander
c) GetProperty
d) LocalProperties
Q.4.
___________ is a thread local class containing local properties.
a) ParseNextProperty
b) PropertyExpander
c) GetProperty
d) LocalProperties
Q.5.
___________ is the class to resolve properties in a map.
a) LocalPropertyStack
b) ResolvePropertyMap
c) NullReturn
d) ParseProperties
Q.6.
___________ parses properties using a collection of expanders.
a) LocalPropertyStack
b) ResolvePropertyMap
c) NullReturn
d) ParseProperties
Q.7.
_________ is a class to represent a null and to stop the chain of lookups.
a) LocalPropertyStack
b) ResolvePropertyMap
c) NullReturn
d) ParseProperties
Q.8.
________________ interface is used by ant attributes.
a) EnableAttribute
b) PropertyExpander
c) GetProperty
d) LocalProperties
Q.9.
_____________ class is used to indicate that the XML namespace (URI) can be used to look for namespace attributes.
a) AttributeNamespace
b) BaseIfAttribute
c) IfBlankAttribute
d) IfSetAttribute
Q.10.
____________ is an abstract class for if/unless attributes.
a) AttributeNamespace
b) BaseIfAttribute
c) IfBlankAttribute
d) IfSetAttribute
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page