I
Infosys Interview — Java (Java developer)
November 12, 2025
- Company
- Infosys
- Role
- Java developer
- Experience
- 3-4 years
- Round
- Other
Questions Asked
10 questions- 1.1.Explain the difference between JDK, JRE, and JVM. How are they related?
- 2.2.What is the difference between String, StringBuilder, and StringBuffer? When would you use each?
- 3.3.How do you implement custom validation in Spring Boot? Explain with an example.
- 4.4.Write a program to check if a string is a palindrome without using built-in reverse functions.
- 5.5.What is the difference between @RestController and @Controller in Spring?
- 6.6.Explain the Java Memory Model. 7.What are heap and stack? How does garbage collection work?
- 7.8.How do you connect to a MySQL database in Spring Boot? Explain the configuration.
- 8.9.Design a library management system. Include entities, relationships, and key operations.
- 9.10.What are the different types of joins in SQL? Explain with examples.
- 10.