Backend track

Java and backend interview questions

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

226 Qs
82 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
89 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
98 Moderate Concurrency Backend

What does volatile guarantee, and what does it not?

Short take Full answer on next page

Simple meaning

volatile makes reads and writes to that field visible across threads and prevents some instruction reordering around that field.

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

Read full answer Example · Mistake · Say this
Prev Page 5 of 12 Next
Chat with us