Backend track

Java interview questions and answers

Panel-ready Java Specialist questions for freshers and experienced developers. Practice at Coding Cadre in Faridabad, or Online from Delhi NCR.

5 Moderate Spring Boot Backend

What is AOP in Spring, and give a production use case?

Short take Full answer on next page

Simple meaning

Aspect-Oriented Programming intercepts join points so you can run extra logic without cluttering business methods.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
7 Moderate Spring Boot Backend

What is Spring Boot auto-configuration in interview language?

Short take Full answer on next page

Simple meaning

Auto-configuration classes are @Configuration beans gated by @ConditionalOnClass and similar, loaded via spring.factories or AutoConfiguration.imports.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
12 Moderate JPA Backend

What is the JPA persistence context?

Short take Full answer on next page

Simple meaning

It is the first-level cache: a map of managed entities for the current unit of work, usually the transaction.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
19 Moderate SQL Backend

When will the planner ignore your index?

Short take Full answer on next page

Simple meaning

Functions on the column, implicit type conversion, leading wildcards like LIKE '%foo', or low selectivity can force a sequential scan.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
Page 1 of 4 Next
Chat with us