Apache Ant/ Apache Ant Mcq Sample Test,Sample questions

Question:
 An ant is a tool that performs scripts written in XML known as build files?

1.ant -file build-sigmap-project.xml -default_target

2.ant -bf build-sigmap-project.xml --default-target

3. ant -file -v build-sigmap-project.xml -d --target

4.ant -build file build-sigmap-project.xml

Posted Date:-2022-09-20 12:47:57


Question:
 What are the basic functions performed by Ant?

1.Deployment to production systems

2.Document creation and release notes preparation

3.Both A and B

4.All of these

Posted Date:-2022-09-20 12:46:22


Question:
 What are the concepts of ANT?

1.Openwrong

2.Cross Platform

3. Both A and Bcorrect

4.None

Posted Date:-2022-09-20 12:49:33


Question:
 Why ant is a Great build tool?

1.Ant syntax used XML format. We need only specifies our task only on build.xml file

2.Ant is easy to use .eliminating the full-time make file engineer common on large Make-based software projects

3.Both A and B

4.None

Posted Date:-2022-09-30 02:06:22


Question:
createMock(String name, Class(T) toMock) throws _________________ exception.

1. IndexOutOfBounds

2.IllegalArgumentException

3.NullPointer

4.NullPointer

Posted Date:-2022-09-20 12:45:08


Question:
How many ways we can set properties into build ant file?

1. Setting the URL attribute with the URL from which to load the properties

2.Setting the resource attribute with the resource name of the property file to load

3.Setting the environment attribute with a prefix to use

4.All of the above

Posted Date:-2022-09-20 12:33:28


Question:
What is ant functionality?

1. New tasks are used to extend the capabilities of the build process, while build listeners are used to helping hook into the build process to add extra error tracking functionality

2.As Ant is extensible and open, it can be integrated with any editor or development environment easily

3.Both A and B

4.None

Posted Date:-2022-09-20 12:43:43


Question:
What is ant?

1.Build Tool Only For Java

2.None of these

3.A language

4. Build Tool

Posted Date:-2022-09-20 12:42:11


Question:
When we’re talking about mock objects, a/an_________ is a feature built into the mock that verifies whether the external class calling this mock has the correct behavior.

1.Expectation

2. Explanation

3.Behavior

4.Amorous

Posted Date:-2022-09-20 12:31:46


Question:
Which one is true method foe message printing in xml file?

1.printf

2.println

3.echo

4.None

Posted Date:-2022-09-20 12:53:43


More MCQS

  1. Apache Ant Mcq
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!