Application Lifecycle - Ant, Maven and Jenkins Online Exam Quiz
Application Lifecycle - Ant, Maven and Jenkins GK Quiz. Question and Answers related to Application Lifecycle - Ant, Maven and Jenkins. MCQ (Multiple Choice Questions with answers about Application Lifecycle - Ant, Maven and Jenkins
Autocloseable was introduced in which Java version?
Options
A : java SE 7
B : java SE 8
C : java SE 6
D : java SE 4
Can we run Junits as a part of Jenkins job?
Options
A : TRUE
B : FALSE
C : -
D : -
It is a good practise to not throw which exception in close() method of autocloseable?
Options
A : IOException
B : CustomException
C : InterruptedException
D : CloseException
What is the alternative of using finally to close resource?
Options
A : catch block
B : autocloseable interface to be implemented
C : try block
D : throw Exception
Which command can be used to check maven version?
Options
A : mvn -ver
B : maven -ver
C : maven -version
D : mvn -version
Which maven plugin creates the project structure?
Options
A : dependency
B : properties
C : archetype
D : execution
Which of the below is a child interface of Autocloseable?
Options
A : Closeable
B : Close
C : Auto
D : Cloneable
Which of the below is a source code management tool?
Options
A : Jenkins
B : Maven
C : Git
D : Hudson
Which of the following is not true for Ant?
Options
A : It is a tool box
B : It provides lifecycle management
C : It is procedural
D : It doesn't have formal conventions