Premium Employer

i

This company page is being actively managed by Infosys Team. If you also belong to the team, you can get access from here

Infosys Verified Tick

Compare button icon Compare button icon Compare
3.7

based on 37.4k Reviews

Filter interviews by

Infosys Java Software Engineer Interview Questions and Answers

Updated 25 May 2021

Infosys Java Software Engineer Interview Experiences

1 interview found

Interview Questionnaire 

1 Question

  • Q1. All java areas - basics Like inheritance polymorphism, method overloading, overriding, garbage collection, collections, data structure their implimentation, exception handling, java 8, on Postgres -...

Interview questions from similar companies

I applied via Naukri.com

Interview Questionnaire 

3 Questions

  • Q1. Write a user microservice to get the data from h2DB.
  • Ans. 

    A user microservice to retrieve data from h2DB

    • Create a REST API endpoint to handle user requests

    • Use JDBC to connect to the h2DB and retrieve data

    • Implement caching to improve performance

    • Ensure proper error handling and logging

    • Secure the API with authentication and authorization

  • Answered by AI
  • Q2. How to create thread singleton
  • Ans. 

    To create thread singleton, use double-checked locking or enum.

    • Use double-checked locking to ensure only one instance is created

    • Alternatively, use enum to create a singleton with thread safety

    • Ensure proper synchronization to avoid race conditions

  • Answered by AI
  • Q3. What does spring boot starter pom
  • Ans. 

    Spring Boot Starter POM is a parent POM that provides a set of dependencies for Spring Boot applications.

    • It includes commonly used dependencies such as Spring Framework, Spring Boot, and Spring Data.

    • It simplifies the process of configuring and deploying Spring Boot applications.

    • Developers can add additional dependencies to the POM file as needed.

    • Examples of Spring Boot Starter POMs include spring-boot-starter-web, spri...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - they dont care much about your previuos projects and all its really good thing, you will be having direct technical questions , should have strong knowledge in multithreading and singleton classes, they dont ask basic questions you must have strong knowledge in that area
be prepared to able to write programs in numbers series, good to have knowledge in data structues its really helpful..

ALL THE BEST.. MY BEST WISHES

Skills evaluated in this interview

I applied via Referral and was interviewed in Mar 2021. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Oops, Collections, spring hibernate

Interview Preparation Tips

Interview preparation tips for other job seekers - Many questions in spring and hibernate

I applied via Naukri.com and was interviewed in Nov 2020. There were 6 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. Oops concepts, collection, multithreading
  • Q2. Data structures

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare well java , ds and your resume
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I was interviewed in Dec 2024.

Round 1 - Technical 

(22 Questions)

  • Q1. API Gateway implementation
  • Q2. Circuit breaker implementation
  • Q3. What is deadlock? How to avoid it?
  • Q4. Explain equals() method
  • Q5. How mongodb was integrated in your application?
  • Q6. What is hibernate?
  • Q7. Runnable vs Callable interface
  • Q8. Which type of data is returned by Callable interface?
  • Q9. HashMap internal working
  • Q10. Concurrent HashMap internal working
  • Q11. How to monitor health of your application?
  • Q12. How to call an API in a Microservice architecture?
  • Q13. Explain Profiles
  • Q14. What is OpenFeign, and how is it used in microservices architecture?
  • Q15. What is the implementation process for service registry and discovery?
  • Q16. What are Spring boot actuators?
  • Q17. Synchronous vs Asynchronous communication
  • Q18. Explain Synchronized keyword
  • Q19. What are the consequences of excessively using synchronized blocks and methods in Java?
  • Q20. How can you determine the number of threads needed for your application?
  • Q21. Explain Executor framework
  • Q22. Explain BlockingQueue
Round 2 - HR 

(2 Questions)

  • Q1. Why did you leave your previous company?
  • Q2. Other basic questions asked regarding the relevant skills and technologies I have worked with.
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Approached by Company and was interviewed in Dec 2024. There was 1 interview round.

Round 1 - Technical 

(8 Questions)

  • Q1. What improvements to interfaces were introduced in Java 8 that were missing in Java 7, specifically regarding static and default methods?
  • Q2. Explain internal working of HashMap ? How to synchronize it ?
  • Q3. Given a list of employees with their ratings, how can you sort the employees based on their ratings using the Java 8 Streaming API?
  • Q4. Will the program compile if the parent class throws a runtime exception while the child class throws an arithmetic exception?
  • Q5. In a Spring Boot application with two databases, how can you configure JDBC to specify which database to use?
  • Q6. How to use a jetty server in your spring boot application ?
  • Q7. Difference between @RequestParam and @PathVariable ?
  • Q8. How would you handle a scenario where one microservice is awaiting a response from another microservice that is taking an extended time to respond?

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare the basics about Java 8 , Core Java , Springboot , Microservices and MySql.
Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Walk-in and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - Technical 

(4 Questions)

  • Q1. Given an array {1, 2, 1, 4, 5, 4, 8, 7}, how can you use Streams to remove duplicates while retaining only the even numbers?
  • Ans. 

    Use Streams to remove duplicates and retain only even numbers from an array.

    • Convert the array to a stream using Arrays.stream()

    • Use distinct() to remove duplicates

    • Filter out odd numbers using filter()

    • Collect the result using collect(Collectors.toList())

  • Answered by AI
  • Q2. What is the use of Static and final when you will use Static methods
  • Ans. 

    Static methods can be accessed without creating an instance of the class, while final keyword makes the method unchangeable.

    • Static methods belong to the class itself, not to any specific instance

    • Final keyword ensures that the method cannot be overridden in subclasses

    • Static methods are commonly used for utility methods that do not require access to instance variables

    • Example: Math class in Java has static methods like Ma

  • Answered by AI
  • Q3. What is the difference between @restController and @controller Annotation
  • Ans. 

    The @RestController annotation is used to define RESTful web services while @Controller annotation is used to define MVC controller.

    • RestController is a specialized version of Controller used for RESTful web services

    • RestController eliminates the need for @ResponseBody annotation

    • Controller is used for traditional MVC controller functionality

    • RestController returns data directly without needing to go through a view resolve...

  • Answered by AI
  • Q4. What is microservices why we use it
  • Ans. 

    Microservices are a software development technique where applications are composed of small, independent services that communicate with each other.

    • Microservices allow for easier scalability and maintenance of complex applications.

    • Each service in a microservices architecture can be developed, deployed, and scaled independently.

    • Microservices promote flexibility and agility in software development.

    • Examples of companies us...

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Cognizant Senior Java Developer interview:
  • Java SpringBoot
Interview preparation tips for other job seekers - Need to have strong knowledge on basics Java Spring boot and Microservices
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
4-6 weeks
Result
Selected Selected

I applied via Approached by Company and was interviewed in Dec 2024. There was 1 interview round.

Round 1 - Technical 

(3 Questions)

  • Q1. Project based questions
  • Q2. Scenario based question (multithreading and caching related scenarios were asked to me)
  • Q3. One coding challenge

Interview Preparation Tips

Interview preparation tips for other job seekers - Questions vary from team to team.
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
-

I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.

Round 1 - Technical 

(3 Questions)

  • Q1. What are intermediate and terminal operations
  • Q2. Predefined functional interface
  • Q3. Ways to create Thread

Interview Preparation Tips

Interview preparation tips for other job seekers - It was moderate level of interview
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
6-8 weeks
Result
Not Selected

I applied via Job Fair and was interviewed in Oct 2024. There were 4 interview rounds.

Round 1 - Aptitude Test 

Onlin test consist pf easy numerical questions

Round 2 - Coding Test 

Easy questions not so difficult

Round 3 - Technical 

(3 Questions)

  • Q1. Java oops concept
  • Q2. Basic sprophramming questions
  • Q3. Networking firewall cisco
Round 4 - HR 

(2 Questions)

  • Q1. Personal questions
  • Q2. Whetehr to willing to work in any locations
  • Ans. 

    Yes, I am willing to work in any location for the right opportunity.

    • I am open to relocating for the right job opportunity

    • I am flexible and adaptable to new environments

    • I believe working in different locations can provide valuable experiences and growth opportunities

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Tech Mahindra Java Developer interview:
  • Networking
Interview preparation tips for other job seekers - nothiung

Infosys Interview FAQs

How to prepare for Infosys Java Software Engineer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Infosys. The most common topics and skills that interviewers at Infosys expect are J2Ee, Java and Spring Boot.

Tell us how to improve this page.

Join Infosys Creating the next opportunity for people, businesses & communities

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.3k Interviews
Accenture Interview Questions
3.9
 • 8.1k Interviews
Wipro Interview Questions
3.7
 • 5.6k Interviews
Cognizant Interview Questions
3.8
 • 5.5k Interviews
Capgemini Interview Questions
3.8
 • 4.8k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.8k Interviews
HCLTech Interview Questions
3.5
 • 3.7k Interviews
Genpact Interview Questions
3.9
 • 3k Interviews
LTIMindtree Interview Questions
3.8
 • 3k Interviews
IBM Interview Questions
4.0
 • 2.4k Interviews
View all
Infosys Java Software Engineer Salary
based on 9 salaries
₹4.1 L/yr - ₹9 L/yr
At par with the average Java Software Engineer Salary in India
View more details

Infosys Java Software Engineer Reviews and Ratings

based on 4 reviews

2.8/5

Rating in categories

3.6

Skill development

2.6

Work-life balance

2.0

Salary

4.0

Job security

4.0

Company culture

2.1

Promotions

3.4

Work satisfaction

Explore 4 Reviews and Ratings
Technology Analyst
56.1k salaries
unlock blur

₹3 L/yr - ₹11 L/yr

Senior Systems Engineer
49.8k salaries
unlock blur

₹2.8 L/yr - ₹8 L/yr

System Engineer
39k salaries
unlock blur

₹2.5 L/yr - ₹6.5 L/yr

Technical Lead
30.6k salaries
unlock blur

₹5.2 L/yr - ₹19.5 L/yr

Senior Associate Consultant
27.3k salaries
unlock blur

₹6.2 L/yr - ₹16.8 L/yr

Explore more salaries
Compare Infosys with

TCS

3.7
Compare

Wipro

3.7
Compare

Cognizant

3.8
Compare

Accenture

3.9
Compare
Did you find this page helpful?
Yes No
write
Share an Interview