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.

226 Qs
46 Easy SQL Backend

What is a database transaction in one minute?

Short take

Simple meaning

A transaction is a group of SQL statements that must all commit or all roll back, so you never leave half-updated data.

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

Read full answer Example · Mistake · Say this
48 Easy REST Backend

When do you use GET versus POST?

Short take

Simple meaning

GET is safe and idempotent: it reads a resource and must not change server state beyond logging.

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

Read full answer Example · Mistake · Say this
52 Easy HTTP Backend

When would you return 500 versus 503?

Short take

Simple meaning

500 Internal Server Error means your code or an unexpected dependency failed.

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

Read full answer Example · Mistake · Say this
56 Easy Auth Backend

How does a classic server session cookie work?

Short take

Simple meaning

After login the server stores session data in memory or Redis and sends a session id in a Set-Cookie header.

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

Read full answer Example · Mistake · Say this
57 Easy Auth Backend

What is a JWT, in plain language?

Short take

Simple meaning

A JSON Web Token is a signed string with a header, payload, and signature, often used as a bearer access token.

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

Read full answer Example · Mistake · Say this
60 Easy Spring Boot Backend

What is a Spring bean?

Short take

Simple meaning

A bean is an object whose lifecycle Spring manages: create, inject dependencies, destroy.

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

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