Question: What is one of the advantages of using properties in Maven?

  1. Properties provide a template for you to build Maven projects with a certain structure.
  2. Properties allow you to inherit values from the parent POM in the child POM.
  3. You can avoid hard-coding values in multiple places.
  4. Properties speed up your Maven build.

Answer: The correct answer of the above question is Option C:You can avoid hard-coding values in multiple places.