1.

Which file is used to define dependency in maven?(a) build.xml(b) pom.xml(c) dependency.xml(d) version.xmlThe question was posed to me in my homework.The question is from Application Lifecycle topic in section Application Lifecycle & Annotations of Java

Answer»

The correct answer is (b) POM.xml

For explanation I would say: pom.xml is USED to define DEPENDENCY which is used to package the jar. POM stands for project OBJECT model.



Discussion

No Comment Found

Related InterviewSolutions