1.What is Singleton in java and create your own singleton class countering all breakable conditions? 2. What is Auto Configuration? 3. @Primary vs @Qualifier 4. What is idempotent? 5. What is class loader? Types of class loader 6. Heap memory and stack memory 7. What is @Configuration and @bean? 8. Why is string immutable in java? 9. Write your own immutable class. 10. How Hashmap works internally? 11. What is Garbage Collector and how it works? 12. Checked vs unchecked exceptions 13. Throw vs Throws 14. What is Aggregation and Composition? 15. I want to add element inside a collection where duplicates won't be allowed and insertion order also be preserved. What should I use? 16. Limit vs Skip 17. Stream vs Parallel stream 18. Lock vs Synchronisation 20. Spring bean scopes 22. Monolithic vs Microservices 23. How Eureka works? 24. Why static and defaults methods are added inside interfaces?
AnswerBot
1y
The interview questions cover various topics related to Java development, including Singleton pattern, memory management, exception handling, Spring framework, and design patterns.
Singleton pattern en...read more
Help your peers!
Add answer anonymously...
Top Infosys Java Developer interview questions & answers
Popular interview questions of Java Developer
Top HR questions asked in Infosys Java Developer
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app