Ant Online Quiz


Advertisements

Following quiz provides Multiple Choice Questions (MCQs) related to Ant. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Answer : D

Explanation

All of the above options are correct.

Answer : A

Explanation

A target is a collection of tasks that you want to run as one unit.

Q 3 - Which of the following property defines the home directory of Ant installation?

A - ant.project.home

B - ant.home

C - home

D - None of the above.

Answer : B

Explanation

ant.home - The home directory of Ant installation.

Q 4 - Which of the following property defines the invoked target of current project?

A - ant.project.target

B - ant.project.invoked-targets

C - ant.project.targets

D - None of the above.

Answer : B

Explanation

ant.project.invoked-targets - Comma separated list of the targets that were invoked in the current project.

Answer : C

Explanation

** - Matches zero or many directories recursively.

Answer : D

Explanation

All of the above options are correct.

Answer : A

Explanation

Excludes - Advises Ant to not include pattern specified list of files in the package.

Q 10 - Can you execute junit test cases using ant task?

A - Yes

B - No

Answer : A

Explanation

Yes.

ant_questions_answers.htm
Advertisements