How many targets can we create in the build.xml?
1
10
5
Any number of targets
we can re-name the build.xml ?
True
False
which of the following tags to declare a variable in ant build script?
property
file
variable
declare
Root tag in Ant script?
Project
Root
Directory
folder
which tag used to display messages in the ant console ?
print
out
write
echo
which property in Target will invoke pre-targets?
depends
include
pre-target
none of the above
What is a Decorator pattern?
decouple an abstraction from its implementation so that the two can vary independently
One class takes in another class, both of which extend the same abstract class, and adds functionality.
Assembles group of objects with same signature
One class controls the creation of and access to objects in another class.
What is a Façade pattern?
The reusable and variable parts of a class are broken into two classes to save resources
One class has a method that performs a complex process calling several other classes.
Which of the following are types of Creational Patterns?
Adapter, Bridge and Decorator.
Singleton, Builder and Factory Method.
Facade, Flyweight and Proxy.
Iterator, Observer and Template.
A ------------- is a direct stand-in for another class and it typically has the same interface as that class because it implements a common interface or an abstract class.
Decorator Pattern.
Façade Pattern.
Proxy Pattern.
Adapter Pattern.