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