-> How will you respond and convince to people/business if a solution designed by you is failed in performance testing in UAT phase ?
-> What are the contract between hashCode and equals method ?
-> How does marker interface works internally ? Can you write your own marker interface ?
-> What is SOLID design principles ?
-> In a chain of REST api calls (eg. A calls B -> B calls C -> C calls D -> D) if C got timeout because of delay in responce from D. How will you handle the request ?
-> In above question how will you avoid duplicate calls if second request sent by C is not duplicate at D end ?
-> How will you manage the transaction in above case, to maintain single unit of transaction among chain of service call ?
-> How will you check for existence of provided integer value out of million records available in DB ?
-> What is the difference between truncate and delete ?
-> What is the difference between normal view and materialized view ?
-> In above example if you use CACHE then how to hanlde the memory outage and what type of CACHE you will implement to less usage of memory ?
-> How will you manage a single unit of transaction for multiple DB operations being performed in different methods ?
-> Suppose out of 5 methods declared from parent to be in single transaction. But I want 4th method to keep in new transaction but not under the parent one. How will you achieve this ?
-> How @Transactional anotation works internally ? What are the different attributes will be there ?
-> What is @Primary annotation ?
-> When you will go for multithreading implementation ?
-> How will you handle if same resources shared by multiple threads ?
-> In how many was you can achieve synchronization ?
-> What is cloning ? In how many ways you can perform cloning in java ?
-> Tell me any 3 exceptions encountered ?
-> What is fail-safe and fail-fast ? How Iterator and CopyOnWriteArrayList works internally ?
-> What is priority queue ?
-> What is blocking queue ?