Interview Preparation
Interview Preparation
Immutable class
Use of Serialization
Static Block
Use of Serialization ID
Java 8 Features
How singleton works and Is Singleton thread safe
Circuitbreaker design pattern
Synxhronization
Call private method in test case
Solid Principals
wrapper classes
How GC works
Seriaze and deseraization
Reflection Api
Object cloning
virtual functions
Final class
Callable interface
states of object
Interface vs class in java8
Ways to create object
Anonymous classes
Design patterns used in project
Override equals and Hashcode and it's contract
Make class as immutable
comparator vs comparable
Volatile keyword
Intern method in String
Why String is immutable
Synchronize vs lock interface
final class or method
Predicate in Java8
Solid principals
Stream vs paralell stream and which one is synchronized
How we call FI with lamda
Can we use method reference for all methods?
Functiona interface default methods
Operators in Streams
String is which design pattern
Flatmap vs map
When to use comparator and comparable
Why we need lambds?any perf improvemsnts?
Final on array? Can we change values?
Singleton double locking
Types of serialization and deserialization
app.prop vs .yml. Difference and better one?
Copy contructor
Try with resource
How to break singleton behavior
callable vs runnable
Where to use immutable class
ConcurrentHashMap vs HashTable Collections
ArrayList vs LinkedList Collections
List Iterator Collections
Hashset and Linkedhashset use Collections
Internal working of hashmap Collections
failsafe,failfast priority queue iterators Collections
Iterators , Iterable Collections
generics advantages in collection Collections
Copy Arraylist Collections
Set vs list Collections
Hashmap in Java8 Collections
Which collevctions are synchronized Collections
Internal working of treeset Collections
hashset internal working Collections
UnsupportedOperationException Exception Handling
CustomExceptions Exception Handling
Global exception handling Exception Handling
Exception rules in overriding Exception Handling
Checked vs unchecked exceptions Exception Handling
Thread lifecycle Multithreading
Synchroniza and synchronization Multithreading
Interthread communication Multithreading
Future Object in Multithreading Multithreading
Runnable vs thread Multithreading
Wait , notify and notifyall Multithreading
Executors in multithreading Multithreading
wait vs sleep Multithreading
Encapsulation vs Abstraction Oops
Can we override protected methods , abstract methods Oops
abstraction vs interface? When to use? Oops
String literl vs new String
String pool String
Why only String pool for Strings String
Advantages of immutable String String
Question Topic
Spring container
ExceptionHandler Annotation
Connection Object in Spring JPA JPA
How to use 2 DB in one Spring Application
Transactional annnotation
Proposition and Isolation Used for Transaction
Transaction management in Spring Boot
Dependency Injection (how many ways) and IOC
Get vs Load from Hibernate
Bean factory and Application context
Auto configuration in spring boot
Merge and Update in JPA
JPA vs Crud repository
CustomExceptions
MIME Type / Multiple
XML and JSON in single API
Component vs controller
controller vs rest controller
Single ton vs prototype and it's scope
Mockito
Sping IOC container
Hibernate Interfaces
Rest vs SOAP
Web services
Api Gateway
Proxy Api and JWT token
Bean life cycle
controlleradvive annotation
Lazy loading in hibernate
Dispatcher servlet
Spring Security(Oauth)
Resttemplate
get api with body
Mock and Injectmock
Producer , consumer problem
Service discovery
Session and Sessionfactory which is thread safe
lazy vs eager loading
Circular dependency in hibernate
Put vs Patch
Thread Join
Thread - > return output
Conditionally initialize bean
Input validation in REST
Scopes in spring boot
Microservice architecture
Classes in Spring Security
Sessionobjects and cache objects
How we configure hibernate
Entity Manager
Crud repository vs JPA repository
Where, group by and having in hibernate
Convert rest response into object
save vs persist
how Eh chache works internally
What if findfirls don'treru nany data
httpmethods->idempotent and safe
rest - accept only few requsts
Size restriction in payload
get vs post vs put vs past
Custom object in set
Sprinng Acuators
Spring AOP
How many micro services needed to develop app lik e flipkart
How you make micro service resillient
How you do load balancing
Shared Db or 1 DB per microservice
Distributed transaction management
SAGA Design pattern
2 phase commit
Security in Microservices
Spring Profiles
TDD
Question Topic
Unique & Primary
SQL vs nosql
Get Second highest salary
Composition and Aggregation
Cross join,left join and right join
Get Seond larget number from Array
Sum of array of elements >20
Sort object using comparator
Convert digit String to Int without int parse(EX: input=4564Sri44 , output:456444)
sum of tow numbers using Fuctional interface
Streams to sort based on name and then age(if same name)
find missing element from 1st n natural numbers(n*n+1)/2
2 cubes , fill all the sides of cube..it should display 01-31
Rock Paper Scisser
Sort Map using Streams
leap year algorithm