Skip to content
Sharp

Testing · interview question

In Maven, which phase is responsible for packaging the compiled code into a distributable format?

Multiple choiceMediumchapter-10-curatedpremiumtestingintegration-testing
Choose one answer
Answer and explanation

Correct answer

A. Package

Why

The 'package' phase in Maven is responsible for taking the compiled code and packaging it into a distributable format, such as a JAR or WAR file.

Test yourself on Testing

A free test with instant, explained results. No account needed.

Start free test
All Testing questions →