Interview question was moderate to difficult. Apart from the technical question , interviewer was more focused on how the person is handling the situation if comes a new scenario.
Sr Java Developer Interview Questions
5,537 sr java developer interview questions shared by candidates
write a program for give taks using in AI 1. Build a small functional app showing integration between backend, AI logic, and optionally frontend/dashboard. 2. Use an AI code assistant (mandatory) like Copilot or Cursor — and maintain a log of prompts, AI suggestions, and your actions. 3. Implement simple AI logic (simulation) — e.g., categorize incidents, suggest severity, or generate summaries (no real ML model needed). 4. Include data storage (DB + CRUD) for the events/incidents and AI-generated insights. 5. Choose one flexible module — either a Backend API or a Frontend Dashboard. 6. Show good design & architecture — modular code, proper API flow, clean database structure. 7. Write a clear README — setup steps, design decisions, AI usage log, prompt strategy, assumptions, and future improvements. 8. Demonstrate prompt engineering skills — how effectively you guided the AI, refined responses, and used templates/rules (conceptually). 9. Focus on clarity and functionality — working, readable, and well-documented code matters more than perfection. second round : tell me about projects in brifly with explaination. mostly situation base quetions.(if this hapens and what you will do) do you know deployement. how can you do cicd pipline.( ci-cd.yml) how can you do docker containarization.(dockerfile) how can you use kubernets and rate limiter .(k8s.yml) if one instance is going to failler and then what happens and what will you do ? how whould know which service is going to be down ?
Multithreading, Core Java, Spring
HashMap Implementation Arraylist basics and how it grows dynamically SpringBoot basics
1 - There are 3 classes A, B, C. B extends A, C extends B. There is a mixed collection, containing objects from the 3 classes. Write code/pseudo code for removing only the instances of class B. 2 - try-catch-finally question. 3 - interface vs abstract class 4 - to inspect a code with Strings and StringBuilder objects 5 - how many instances of a servlet are there in memory? Are its member vars thread-safe? Pattern? 6 - diff cookies vs URL rewriting for session management 7 - something about jsps and their scope (do not remember well) 8 - a piece of c*appy code to be refactored.
spring boot related questions
Core java, advanced java , spring ,
Core java Springboot Angular Architectural questions SQL queries
Basic flow of spring boot
Viewing 1541 - 1550 interview questions