🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← All topics

Quiz: Roadmap and Maven: questions with answers

10 questions, each with the answer and a short explanation.

Take the timed quiz + get a certificate →
  1. Q1. What does the spring-boot-starter-parent in pom.xml mainly do?
  2. Q2. Which Maven command produces a runnable jar in target/?
  3. Q3. @SpringBootApplication combines which three things?
  4. Q4. Where does Maven expect your application's Java source code?
  5. Q5. What is the minimum Java version for Spring Boot 3 and 4?
  6. Q6. Why do you not write version numbers for Spring Boot starters in pom.xml?
  7. Q7. What is the web starter called in Spring Boot 4?
  8. Q8. What is the Maven wrapper (mvnw / mvnw.cmd) for?
  9. Q9. A @Service class is placed in com.example.other while the main class is in com.skills101.courses. What happens?
  10. Q10. You run ./mvnw package. Which phases run before the jar is built?