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

Filter interviews by

Infosys Java Developer Interview Questions, Process, and Tips

Updated 4 Feb 2025

Top Infosys Java Developer Interview Questions and Answers

  • Q1. Which should be preferred between String and StringBuffer when there are many updates required to 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

143 interviews found

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

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

Round 1 - Technical 

(2 Questions)

  • Q1. How can you write custom exception in Java?
  • Ans. 

    To write a custom exception in Java, create a new class that extends Exception or a subclass of Exception.

    • Create a new class that extends Exception or a subclass of Exception.

    • Add a constructor to the custom exception class to pass a message to the superclass constructor.

    • Throw the custom exception using the 'throw' keyword in your code.

    • Handle the custom exception using try-catch blocks or propagate it up the call stack.

  • Answered by AI
  • Q2. Explain internal working of HashMap
  • Ans. 

    HashMap is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values.

    • HashMap internally uses an array of linked lists to store key-value pairs.

    • When a key-value pair is added, the key is hashed to find the index in the array where it will be stored.

    • If multiple keys hash to the same index, a linked list is used to handle collisions.

    • To retrieve a value, the key is hashed again to find th...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Practice core java and java8 features

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
Selected Selected
Round 1 - Assignment 

Array problems spring boot questions angular questions

Round 2 - HR 

(2 Questions)

  • Q1. Why should hire yoy
  • Ans. 

    I have a strong background in Java development with experience in building scalable and efficient applications.

    • Extensive experience in Java programming language

    • Proven track record of delivering high-quality, scalable applications

    • Strong understanding of software development best practices

    • Ability to work well in a team and collaborate effectively with others

  • Answered by AI
  • Q2. Compensation discussion
Round 3 - No 

(2 Questions)

  • Q1. Why spring boot
  • Ans. 

    Spring Boot simplifies the development of Java applications by providing a set of tools and conventions for building production-ready applications quickly.

    • Spring Boot eliminates the need for boilerplate code, allowing developers to focus on writing business logic.

    • It provides embedded servers for easy deployment and configuration.

    • Spring Boot offers a wide range of plugins and extensions for integrating with other techno...

  • Answered by AI
  • Q2. Angular lifecycle

Java Developer Interview Questions Asked at Other Companies

asked in Deloitte
Q1. Sort 0 and 1 Problem Statement Given an integer array ARR of size ... read more
Q2. Parent class has run() and walk() . Parent run() - calls walk() C ... read more
asked in Infosys
Q3. Which should be preferred between String and StringBuffer when th ... read more
asked in Deloitte
Q4. Convert BST to Greater Sum Tree Given a Binary Search Tree (BST) ... read more
Q5. 2. What will happen if hashcode only returns a constant? How will ... read more

Java Developer Interview Questions & Answers

user image Hemang Dixit

posted on 2 Jul 2024

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Write Factorial program
  • Ans. 

    Factorial program calculates the product of all positive integers up to a given number.

    • Create a method that takes an integer as input

    • Use a loop to multiply all positive integers up to the input number

    • Return the final product

  • Answered by AI
  • Q2. Singleton design pattern
Round 2 - HR 

(2 Questions)

  • Q1. Day to day work
  • Q2. Total team size
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-

I applied via Job Portal and was interviewed in Aug 2024. There was 1 interview round.

Round 1 - Coding Test 

Coding test time duration was 45 mins. Question was related to string array checking the good arrray on condition of no occurrence of characters.

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)

Interview experience
4
Good
Difficulty level
Easy
Process Duration
2-4 weeks
Result
No response

I applied via LinkedIn and was interviewed in Apr 2024. There were 4 interview rounds.

Round 1 - One-on-one 

(1 Question)

  • Q1. Explain Funcational Intergace.
  • Ans. 

    Functional Interface is an interface with only one abstract method, used for lambda expressions.

    • Functional Interface can have multiple default or static methods.

    • Examples include Runnable, Callable, Comparator interfaces.

    • Used for lambda expressions to provide implementation for the single abstract method.

  • Answered by AI
Round 2 - Aptitude Test 

Oops, azure, spring boot, microservices, rest services.

Round 3 - One-on-one 

(1 Question)

  • Q1. Project questions
Round 4 - HR 

(1 Question)

  • Q1. Basic questions

Skills evaluated in this interview

Get interview-ready with Top Infosys Interview Questions

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Java 8 features
  • Q2. Lambda function

Java Developer Jobs at Infosys

View all

Java Developer Interview Questions & Answers

user image poonam bhosale

posted on 16 Oct 2024

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Spring boot basic
  • Q2. Spring security, Java
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 Jan 2024. There were 3 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. Java 8 question were asked
  • Q2. Basic dsa questions were asked
Round 2 - Technical 

(2 Questions)

  • Q1. Azure Devops questions were asked
  • Q2. Java 8 questions were asked
Round 3 - Behavioral 

(2 Questions)

  • Q1. Technical questions on my project were asked
  • Q2. Springboot, Hibernate Microservices Spring security questions were asked
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
Selected Selected

I applied via Company Website and was interviewed in Jan 2024. There was 1 interview round.

Round 1 - Technical 

(6 Questions)

  • Q1. What is oops conecpts and give example?
  • Ans. 

    OOPs concepts refer to Object-Oriented Programming principles like inheritance, encapsulation, polymorphism, and abstraction.

    • Inheritance: Allows a class to inherit properties and behaviors from another class. Example: class Dog extends Animal.

    • Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: private variables with public getter and setter methods.

    • Polymorphism: Ability to pre...

  • Answered by AI
  • Q2. Diffrenece between interafce and abstract class
  • Ans. 

    Interface is a blueprint for classes to implement, while abstract class can have both abstract and concrete methods.

    • Interface can only have abstract methods and constants, while abstract class can have abstract and concrete methods.

    • A class can implement multiple interfaces but can only extend one abstract class.

    • Interfaces are used to achieve multiple inheritance in Java.

    • Abstract classes can have instance variables, con...

  • Answered by AI
  • Q3. What is collection and collections, what is collection framework?
  • Ans. 

    Collection is a group of objects, Collections is a utility class, Collection framework is a set of interfaces and classes for handling collections.

    • Collection is an interface in Java that represents a group of objects known as elements.

    • Collections is a utility class in Java that contains static methods for operating on collections.

    • Collection framework is a set of interfaces and classes in Java that provides an architect...

  • Answered by AI
  • Q4. Have you worked on spring security then explain ?
  • Ans. 

    Yes, I have worked on Spring Security. It is a powerful and customizable authentication and access control framework for Java applications.

    • Implemented authentication and authorization using Spring Security annotations like @Secured, @PreAuthorize, @PostAuthorize

    • Configured security settings in XML or Java configuration files

    • Used Spring Security filters for protecting URLs, CSRF protection, session management, etc.

    • Integr...

  • Answered by AI
  • Q5. What is microservices ,how its works
  • Ans. 

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

    • Microservices break down a large application into smaller, loosely coupled services

    • Each service is responsible for a specific function and can be developed, deployed, and scaled independently

    • Communication between services is typically done through APIs or messaging queues

    • Mi...

  • Answered by AI
  • Q6. Sql joins , write query for second highest salary, java 8 stream api, program for even odd number in java 8

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Prerequisites: Payment gateway If your order fails and payment has been deducted, how do you manage this situation.
  • Ans. 

    In case of order failure with payment deducted, refund the payment and investigate the issue.

    • Initiate refund process for the deducted payment

    • Investigate the reason for the order failure

    • Communicate with the customer about the issue and resolution

    • Ensure the payment gateway is functioning correctly to prevent future occurrences

  • Answered by AI
  • Q2. What are constructors and its types
  • Ans. 

    Constructors are special methods used to initialize objects in Java.

    • Constructors have the same name as the class and do not have a return type.

    • Types of constructors include default constructor, parameterized constructor, and copy constructor.

    • Default constructor is provided by Java if no constructor is defined.

    • Parameterized constructor takes parameters to initialize an object with specific values.

    • Copy constructor create...

  • Answered by AI

Skills evaluated in this interview

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 113 interviews

4 Interview rounds

  • Technical Round - 1
  • Technical Round - 2
  • HR Round - 1
  • HR Round - 2
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
At par with the average Java Developer Salary in India
View more details

Infosys Java Developer Reviews and Ratings

based on 112 reviews

3.8/5

Rating in categories

3.7

Skill development

3.7

Work-life balance

3.3

Salary

3.8

Job security

3.9

Company culture

3.0

Promotions

3.6

Work satisfaction

Explore 112 Reviews and Ratings
Java Developer - Pune

Pune,

Chennai

+1

3-6 Yrs

Not Disclosed

Java Developer

Pune,

Chennai

+1

3-6 Yrs

Not Disclosed

Java Developer- Infosys

Hyderabad / Secunderabad,

Chennai

+1

5-10 Yrs

Not Disclosed

Explore more jobs
Technology Analyst
55.7k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Systems Engineer
50.6k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

System Engineer
39.5k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Technical Lead
30.8k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Associate Consultant
28k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare Infosys with

TCS

3.7
Compare

Wipro

3.7
Compare

Cognizant

3.7
Compare

Accenture

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