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

View Answer

Can we run Junits as a part of Jenkins job?

Options

A : TRUE

B : FALSE

C : -

D : -

View Answer

It is a good practise to not throw which exception in close() method of autocloseable?

Options

A : IOException

B : CustomException

C : InterruptedException

D : CloseException

View Answer

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

View Answer

Which command can be used to check maven version?

Options

A : mvn -ver

B : maven -ver

C : maven -version

D : mvn -version

View Answer

Which maven plugin creates the project structure?

Options

A : dependency

B : properties

C : archetype

D : execution

View Answer

Which of the below is a child interface of Autocloseable?

Options

A : Closeable

B : Close

C : Auto

D : Cloneable

View Answer

Which of the below is a source code management tool?

Options

A : Jenkins

B : Maven

C : Git

D : Hudson

View Answer

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

View Answer

Annotations more Online Exam Quiz

Annotations

AutoCloseable, Closeable and Flushable Interfaces

Client and Server

Debugging in Eclipse

Design Patterns

Java Beans