JAVA BACKEND INTERVIEW – LINE BY LINE TOPICS
1. Core Java
- OOPS Concepts
- Inheritance
- Polymorphism
- Abstraction
- Encapsulation
- Interface vs Abstract Class
- Constructors
- static / final / this / super
- JVM, JRE, JDK
- Garbage Collection
- String, StringBuilder, StringBuffer
- Collections Framework
- List, Set, Map
- HashMap Internal Working
- ConcurrentHashMap
- Fail-fast vs Fail-safe
- Generics
- Exception Handling
- Checked vs Unchecked Exceptions
- Functional Interface & Lambda
- Stream API
2. Multithreading & Concurrency
- Thread Lifecycle
- Runnable vs Callable
- Executor Framework
- Synchronization
- volatile & atomic variables
- Deadlock, Livelock, Starvation
3. Java 8+ Features
- Lambda
- Streams
- Optional
- Default & Static methods in interface
4. Spring & Spring Boot
- Dependency Injection
- IoC Container
- Bean Scopes
- @Component, @Service, @Repository
- Autowiring
- AOP
- Filters & Interceptors
- Spring Boot Starter
- [Link] / YAML
- Profiles
5. REST API
- GET / POST / PUT / DELETE
- Idempotency
- Request/Response Structure
- Status Codes
- Exception Handling
- Validation
- DTO vs Entity
- Pagination & Sorting
6. JPA / Hibernate
- Entity Mapping
- OneToOne / OneToMany / ManyToMany
- Lazy vs Eager Fetch
- JPQL / Criteria
- Caching (L1/L2)
- Transactions
7. Microservices
- Service Registry
- API Gateway
- Load Balancer
- Circuit Breaker
- Communication (REST / Feign)
- Config Server
- Distributed Logging
8. SQL
- Joins
- Group By / Having
- Subquery
- Index
- Query Optimization
- Normalization
9. NoSQL
- MongoDB Basics
- Document vs Relational
10. System Design Basics
- Scalability
- Load Balancing
- Caching
- Messaging Queue
- Rate Limiting
11. DevOps Basics
- CI/CD
- Docker
- Kubernetes