MCQOPTIONS
Saved Bookmarks
This section includes 9 Mcqs, each offering curated multiple-choice questions to sharpen your Junit knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
_____________ 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 |
| Answer» B. BaseIfAttribute | |
| 2. |
________________ interface is used by ant attributes. |
| A. | EnableAttribute |
| B. | PropertyExpander |
| C. | GetProperty |
| D. | LocalProperties |
| Answer» B. PropertyExpander | |
| 3. |
_________ is a class to represent a null and to stop the chain of lookups. |
| A. | LocalPropertyStack |
| B. | ResolvePropertyMap |
| C. | NullReturn |
| D. | ParseProperties |
| Answer» D. ParseProperties | |
| 4. |
___________ parses properties using a collection of expanders. |
| A. | LocalPropertyStack |
| B. | ResolvePropertyMap |
| C. | NullReturn |
| D. | ParseProperties |
| Answer» E. | |
| 5. |
___________ is the class to resolve properties in a map. |
| A. | LocalPropertyStack |
| B. | ResolvePropertyMap |
| C. | NullReturn |
| D. | ParseProperties |
| Answer» C. NullReturn | |
| 6. |
___________ is a thread local class containing local properties. |
| A. | ParseNextProperty |
| B. | PropertyExpander |
| C. | GetProperty |
| D. | LocalProperties |
| Answer» E. | |
| 7. |
____________ is the interface to a class to get a property in apache ant. |
| A. | ParseNextProperty |
| B. | PropertyExpander |
| C. | GetProperty |
| D. | LocalProperties |
| Answer» D. LocalProperties | |
| 8. |
___________ 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 |
| Answer» B. org.apache.tools.ant.types | |
| 9. |
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 |
| Answer» B. Closed | |