Quiz # 3

Question # 1

Q

Imagine a setup with a parent project and a child project. The child project inherits from the parent POM. Both the child POM and the parent POM define a property, Car, in their respective POMs. The value of the property in the parent POM is set to Tesla, and in the child POM it is set to Nikola. When we build the child POM what value will the property be resolved to?

A)

Tesla

B)

Nikola

C)

Maven throws an error

Get hands-on with 1200+ tech skills courses.