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.6k Reviews

Filter interviews by

Infosys Java Developer Interview Questions, Process, and Tips

Updated 16 Jan 2025

Top Infosys Java Developer Interview Questions and Answers

  • Q1. OOPS Question Which among String or String Buffer should be preferred when there are lot of updates required to be done in the data?
  • Q2. write a code to filter out loans with incomplete status using java 8 features.
  • Q3. 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 i ...read more
View all 164 questions

Infosys Java Developer Interview Experiences

144 interviews found

I applied via Company Website and was interviewed in Oct 2022. There were 2 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Technical 

(4 Questions)

  • Q1. What is java and what is inheritance and what is oops concepts and what is method
  • Ans. 

    Java is an object-oriented programming language. Inheritance is a mechanism to create new classes based on existing ones. OOPs is a programming paradigm. Method is a block of code that performs a specific task.

    • Java is a high-level, class-based, and object-oriented programming language.

    • Inheritance is a mechanism in which one class acquires the properties and behaviors of another class.

    • OOPs is a programming paradigm that...

  • Answered by AI
  • Q2. What is java and what is oops concepts and what is inheritance and what is method
  • Ans. 

    Java is an object-oriented programming language. OOPs concepts include inheritance, encapsulation, polymorphism, and abstraction.

    • Java is a high-level programming language that is platform-independent.

    • OOPs concepts are the foundation of Java programming.

    • Inheritance is a mechanism in which one class acquires the properties and behaviors of another class.

    • A method is a collection of statements that perform a specific task.

    • ...

  • Answered by AI
  • Q3. What is java and what is method and what is oops concepts
  • Ans. 

    Java is a programming language. Method is a block of code that performs a specific task. OOPs is a programming paradigm.

    • Java is an object-oriented programming language used to develop applications and software.

    • A method is a block of code that performs a specific task and can be called by other parts of the program.

    • OOPs is a programming paradigm that focuses on objects and their interactions to solve problems.

    • OOPs conce...

  • Answered by AI
  • Q4. What is java and what is method and what is oops concepts and what is method
  • Ans. 

    Java is an object-oriented programming language. Method is a block of code that performs a specific task. OOPs concepts are principles of object-oriented programming.

    • Java is a high-level programming language that is platform-independent.

    • Method is a block of code that performs a specific task and can be called multiple times.

    • OOPs concepts include inheritance, encapsulation, polymorphism, and abstraction.

    • Inheritance allo...

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Infosys Java Developer interview:
  • Java
Interview preparation tips for other job seekers - I am java developer so please add my profile in interview schedule and i will attend interview

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Company Website and was interviewed in Nov 2024. There were 2 interview rounds.

Round 1 - Technical 

(7 Questions)

  • Q1. Create one Spring boot controller from end to end. No need to create a spring boot project we just want to see the structure and end to end implementation.
  • Q2. Write a java 8 program to get the characters from a string whose count is 2 or more than 2 e.g. input: baseball , output: b, a, l.
  • Q3. Why you left your previous organization.
  • Q4. What is the functional interface
  • Q5. What are the OOPS concepts. and some questions related to inheritance.
  • Q6. Asked about the project mentioned in CV (Client project) and asked its architecture.
  • Q7. Various SQL join types
Round 2 - HR 

(3 Questions)

  • Q1. Are you ready to relocate to job location
  • Q2. Why are you leaving your previous organization.
  • Q3. Expectation about salary

Interview Preparation Tips

Interview preparation tips for other job seekers - Do your basics strong, and keep hands on problems.

Java Developer Interview Questions Asked at Other Companies

asked in Deloitte
Q1. Sort 0 1You have been given an integer array/list(ARR) of size N ... read more
Q2. Parent class has run() and walk() . Parent run() - calls walk() C ... read more
asked in LTIMindtree
Q3. Longest Harmonious SubsequenceYou are given an array ‘ARR’ of 'N' ... read more
asked in Deloitte
Q4. Convert Bst To The Greater Sum TreeYou have been given a Binary S ... read more
Q5. 2. What will happen if hashcode only returns a constant? How will ... read more
Interview experience
1
Bad
Difficulty level
Easy
Process Duration
2-4 weeks
Result
Not Selected
Round 1 - Technical 

(2 Questions)

  • Q1. Core Java questions
  • Q2. 3 Coding problems to solve
Round 2 - Behavioral 

(2 Questions)

  • Q1. Worst thing was he started asking Devops questions to a Java Developer.
  • Q2. Why is your current company not utilizing a technology that I am familiar with, despite my ability to answer all related questions accurately?
  • Ans. 

    Current company may have different priorities, budget constraints, existing systems, or may not see the immediate need for the technology.

    • Different priorities: Company may be focusing on other projects or technologies that are deemed more important at the moment.

    • Budget constraints: Implementing new technology can be costly and the company may not have the budget for it.

    • Existing systems: Company may already have systems...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Please prepare well not all peoples are same but yes really worried that such peoples are there who asks you anything and will suggests that convince current employer to use a silly technology which is not used in 80% of companies.
Interview experience
2
Poor
Difficulty level
Easy
Process Duration
2-4 weeks
Result
Not Selected
Round 1 - Behavioral 

(2 Questions)

  • Q1. Why is your company not utilizing XYZ technology, and what implications does that have for my qualifications, considering I am knowledgeable about that technology and addressed relevant questions during th...
  • Ans. 

    The company has chosen not to utilize XYZ technology due to budget constraints and compatibility issues.

    • Budget constraints may have limited the company's ability to invest in new technologies.

    • Compatibility issues with existing systems may have prevented the adoption of XYZ technology.

    • The company may have determined that the benefits of XYZ technology do not outweigh the costs of implementation.

    • There may be alternative ...

  • Answered by AI
  • Q2. You should know Devops as Java Developer

Interview Preparation Tips

Interview preparation tips for other job seekers - If you encounter an interviewer with a strong ego, respond to their questions by indicating that you are learning the technology and make an effort to answer to the best of your ability.

Infosys interview questions for designations

 Senior Java Developer

 (19)

 Junior Java Developer

 (6)

 Java Software Developer

 (3)

 Associate Java Developer

 (2)

 Java Developer Trainee

 (1)

 Backend Java Developer

 (2)

 Fullstack Java Developer

 (1)

 Java Developer Consultant

 (1)

Java Developer Interview Questions & Answers

user image Uddipon Duara

posted on 29 Oct 2024

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I was interviewed in Sep 2024.

Round 1 - Technical 

(6 Questions)

  • Q1. Core java basics - ConcurrentHashMap, Immutable class, Singleton
  • Q2. Write code to demonstrate the flow of Spring MVC
  • Ans. 

    Demonstrate the flow of Spring MVC through code

    • Create a controller class with request mapping annotations

    • Define methods in the controller to handle different requests

    • Configure the dispatcher servlet in web.xml

    • Create a view resolver to map logical view names to actual views

  • Answered by AI
  • Q3. Java Stream API
  • Q4. Find duplicates using stream api
  • Ans. 

    Use stream api to find duplicates in an array of strings

    • Convert array to stream using Arrays.stream()

    • Use Collectors.groupingBy() to group elements by their occurrences

    • Filter the map to find elements with count > 1

  • Answered by AI
  • Q5. Write code to put all the zeroes of an array to the end
  • Ans. 

    Move all zeroes in an array to the end without changing the order of other elements.

    • Iterate through the array and keep track of the index where non-zero elements should be placed.

    • After the iteration, fill the remaining positions with zeroes.

  • Answered by AI
  • Q6. Find if 2 given strings are anagrams
  • Ans. 

    Check if 2 strings are anagrams by comparing sorted characters

    • Sort the characters of both strings and compare if they are equal

    • Use a hashmap to store character frequencies and compare the maps

  • Answered by AI
Round 2 - Behavioral 

(5 Questions)

  • Q1. Discussion regarding my current work
  • Q2. How to check logs in an app
  • Ans. 

    To check logs in an app, access log files or use logging frameworks like Log4j.

    • Access log files directly in the application directory

    • Use logging frameworks like Log4j to log messages at different levels

    • Analyze log files for errors or debugging information

  • Answered by AI
  • Q3. 1 Problem solving question
  • Q4. How to manage during strict deadlines
  • Ans. 

    Prioritize tasks, break down work into smaller chunks, communicate with team, utilize time management techniques

    • Prioritize tasks based on importance and urgency

    • Break down work into smaller, manageable chunks to make progress

    • Communicate with team members to ensure everyone is on the same page

    • Utilize time management techniques such as Pomodoro technique or Agile methodologies

  • Answered by AI
  • Q5. Basic Hibernate and Java questions

Skills evaluated in this interview

Get interview-ready with Top Infosys Interview Questions

Interview experience
3
Average
Difficulty level
-
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Company Website and was interviewed in Nov 2024. There were 2 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. Basic spring boot questions
  • Q2. Diff btw interface and abstract
Round 2 - Technical 

(2 Questions)

  • Q1. Agile ,sprints,
  • Q2. Details about project

Java Developer Jobs at Infosys

View all
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
-

I applied via Company Website and was interviewed in Aug 2024. There were 2 interview rounds.

Round 1 - Technical 

(7 Questions)

  • Q1. Difference between list and set
  • Ans. 

    List is an ordered collection that allows duplicate elements, while Set is an unordered collection that does not allow duplicates.

    • List maintains the insertion order of elements, while Set does not guarantee any specific order.

    • List allows duplicate elements, while Set does not allow duplicates.

    • Examples of List implementations in Java are ArrayList and LinkedList, while examples of Set implementations are HashSet and Tre

  • Answered by AI
  • Q2. Explain about @qualifiers
  • Ans. 

    Annotations used in Spring to disambiguate beans when multiple beans of the same type are present

    • Used in Spring framework to specify which bean to inject when multiple beans of the same type are present

    • Can be used with @Autowired or @Resource annotations

    • Example: @Qualifier("beanName")

  • Answered by AI
  • Q3. Can we use try and finally without catch?
  • Ans. 

    Yes, try and finally can be used without catch to handle exceptions.

    • try block is used to enclose the code that may throw an exception

    • finally block is used to execute code regardless of whether an exception is thrown or not

    • If catch block is not present, exceptions will not be caught and handled

  • Answered by AI
  • Q4. Annotations in @springbootApplication
  • Ans. 

    Annotations in @SpringBootApplication are used to configure the Spring Boot application.

    • Annotations like @SpringBootApplication are used to enable auto-configuration and component scanning in a Spring Boot application.

    • Other commonly used annotations include @RestController, @Service, @Repository, and @Component for defining different types of Spring beans.

    • Annotations like @Autowired are used for dependency injection in...

  • Answered by AI
  • Q5. @getmapping vs @postmapping
  • Ans. 

    The @GetMapping annotation is used to map HTTP GET requests to specific handler methods, while @PostMapping is used for POST requests.

    • GetMapping is used for retrieving data from the server, while PostMapping is used for sending data to the server.

    • GetMapping is idempotent, meaning it should not have any side effects, while PostMapping can have side effects.

    • GetMapping should not be used for operations that modify data, w...

  • Answered by AI
  • Q6. Features of Java 8
  • Ans. 

    Java 8 introduced several new features including lambda expressions, streams, functional interfaces, and default methods.

    • Lambda expressions allow for more concise code and easier parallel programming.

    • Streams provide a way to work with sequences of elements and perform operations such as filtering, mapping, and reducing.

    • Functional interfaces enable the use of lambda expressions and method references.

    • Default methods allo...

  • Answered by AI
  • Q7. Code in stream api - to find all the numbers less than 10 in a given array list
  • Ans. 

    Using stream api to find numbers less than 10 in an array list

    • Use stream() method on the array list to create a stream of elements

    • Use filter() method with a lambda expression to filter out numbers less than 10

    • Collect the filtered elements using collect() method to get the result

  • Answered by AI
Round 2 - HR 

(2 Questions)

  • Q1. Talked about expected salary
  • Q2. Preferred location asked

Interview Preparation Tips

Topics to prepare for Infosys Java Developer interview:
  • Java 8
  • Exception handling
  • Spring Boot
  • Collections
Interview preparation tips for other job seekers - Code in stream api is given very importance in Infosys .

Skills evaluated in this interview

Java Developer Interview Questions & Answers

user image Khushi Sahay

posted on 22 Sep 2024

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Aug 2024. There were 3 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. Question on collection framework and java 8, whatever you have written on your cv, question will be asked from that
  • Q2. Question related to micro service, maven, git, azure or anything else related to that
Round 2 - One-on-one 

(2 Questions)

  • Q1. This was the managerial round in which it mainly focused on what i have worked
  • Q2. Question related to my project and how i faced challenges in my previous company
Round 3 - HR 

(2 Questions)

  • Q1. Normal salary discussion and negotiation
  • Q2. Location discuss

Java Developer interview

user image AG Tech

posted on 25 Nov 2021

Java Developer Interview Questions & Answers

user image Pooja Babar

posted on 2 Jan 2025

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Java 8 questions, OOPS,spring
  • Q2. Find the smallest element in array using java8
Round 2 - HR 

(2 Questions)

  • Q1. Salary discusssion
  • Q2. What is your expected CTC
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

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

Round 1 - One-on-one 

(2 Questions)

  • Q1. Coding question on arrays
  • Q2. Core java programming related questions

Infosys Interview FAQs

How many rounds are there in Infosys Java Developer interview?
Infosys interview process usually has 1-2 rounds. The most common rounds in the Infosys interview process are Technical, One-on-one Round and HR.
How to prepare for Infosys Java Developer 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 Java, Microservices, Spring Boot, Hibernate and SDLC.
What are the top questions asked in Infosys Java Developer interview?

Some of the top questions asked at the Infosys Java Developer interview -

  1. write a code to filter out loans with incomplete status using java 8 featur...read more
  2. 1.What is Singleton in java and create your own singleton class countering all ...read more
  3. Difference Between Comparator and Comparable. What is fully qualified domain na...read more
How long is the Infosys Java Developer interview process?

The duration of Infosys Java Developer interview process can vary, but typically it takes about less than 2 weeks to complete.

Tell us how to improve this page.

Infosys Java Developer Interview Process

based on 87 interviews in last 1 year

3 Interview rounds

  • Technical Round 1
  • Technical Round 2
  • HR Round
View more
Join Infosys Creating the next opportunity for people, businesses & communities
Infosys Java Developer Salary
based on 1.4k salaries
₹2 L/yr - ₹10 L/yr
11% less than the average Java Developer Salary in India
View more details

Infosys Java Developer Reviews and Ratings

based on 106 reviews

3.8/5

Rating in categories

3.7

Skill development

3.7

Work-life balance

3.3

Salary

3.8

Job security

3.8

Company culture

3.0

Promotions

3.5

Work satisfaction

Explore 106 Reviews and Ratings
Java Developer

Hyderabad / Secunderabad,

Pune

+1

3-8 Yrs

Not Disclosed

Java Developer

Bangalore / Bengaluru

3-8 Yrs

Not Disclosed

Java Developer

Hyderabad / Secunderabad,

Chennai

+1

4-9 Yrs

Not Disclosed

Explore more jobs
Technology Analyst
56.3k salaries
unlock blur

₹3 L/yr - ₹11 L/yr

Senior Systems Engineer
50k salaries
unlock blur

₹2.8 L/yr - ₹8 L/yr

System Engineer
39.2k salaries
unlock blur

₹2.5 L/yr - ₹5.5 L/yr

Technical Lead
30.7k salaries
unlock blur

₹5.2 L/yr - ₹19.5 L/yr

Senior Associate Consultant
27.4k 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