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

Filter interviews by

Infosys Senior Java Developer Interview Questions, Process, and Tips

Updated 9 Dec 2024

Top Infosys Senior Java Developer Interview Questions and Answers

  • Q1. A query in backend yields to 500 results but in UI you have to sort it to 10 results per page, how will you help UI achieve this?
  • Q2. If I have OS and JDK only How will you setup a Spring-Boot project in my laptop?
  • Q3. Using single API endpoint can you perform all 3 operations, 1- Get the data, 2- Supply the data, 3- delete the data?
View all 23 questions

Infosys Senior Java Developer Interview Experiences

19 interviews found

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

I was interviewed in Aug 2024.

Round 1 - One-on-one 

(12 Questions)

  • Q1. What is your overall career experience yet?
  • Ans. 

    I have over 10 years of experience in Java development, working on various projects and technologies.

    • 10+ years of experience in Java development

    • Worked on various projects and technologies

    • Strong understanding of software development lifecycle

    • Experience with frameworks like Spring and Hibernate

    • Knowledge of design patterns and best practices

  • Answered by AI
  • Q2. If I have OS and JDK only How will you setup a Spring-Boot project in my laptop?
  • Ans. 

    To set up a Spring-Boot project with only OS and JDK, you need to install Maven and then create a new project using Spring Initializr.

    • Install Apache Maven to manage dependencies and build the project

    • Use Spring Initializr to generate a new Spring Boot project with required dependencies

    • Import the project into your IDE and start coding

  • Answered by AI
  • Q3. What are the Spring boot annotations you use commonly?
  • Ans. 

    Commonly used Spring Boot annotations include @RestController, @Autowired, @RequestMapping, @Service, @Component, @Repository.

    • @RestController - Used to define RESTful web services.

    • @Autowired - Used for automatic dependency injection.

    • @RequestMapping - Used to map web requests to specific handler methods.

    • @Service - Used to indicate that a class is a service component.

    • @Component - Used to indicate that a class is a Spring...

  • Answered by AI
  • Q4. What is the latest REST API you have developed?
  • Ans. 

    I recently developed a REST API for a banking application to handle customer transactions.

    • Implemented CRUD operations for customer accounts and transactions

    • Used Spring Boot framework for building the API

    • Secured API endpoints using OAuth 2.0 authentication

    • Utilized Swagger for API documentation

  • Answered by AI
  • Q5. How do you achieve Pagination in APIs?
  • Ans. 

    Pagination in APIs is achieved by using query parameters like page number and page size.

    • Use query parameters like 'page' and 'size' to specify the page number and number of items per page.

    • Implement logic in the backend to fetch and return only the specified page of data.

    • Calculate the total number of pages based on the total number of items and page size.

    • Include links to navigate to the next and previous pages in the AP

  • Answered by AI
  • Q6. A query in backend yields to 500 results but in UI you have to sort it to 10 results per page, how will you help UI achieve this?
  • Ans. 

    Implement pagination in UI by limiting results to 10 per page.

    • Implement pagination logic in UI to display 10 results per page.

    • Use backend query parameters like 'offset' and 'limit' to fetch specific results.

    • Utilize front-end frameworks like React or Angular for efficient pagination implementation.

  • Answered by AI
  • Q7. What are actuators in Spring boot?
  • Ans. 

    Actuators in Spring Boot are built-in tools that help monitor and manage the application.

    • Actuators provide endpoints to monitor application health, metrics, info, etc.

    • They can be used to interact with the application at runtime.

    • Examples include /actuator/health, /actuator/metrics, /actuator/info, etc.

  • Answered by AI
  • Q8. What is role of pom.xml in a maven project?
  • Ans. 

    pom.xml is a configuration file in a Maven project that defines project dependencies, build settings, and plugins.

    • Defines project dependencies and their versions

    • Specifies build settings such as source directory, target directory, and compiler version

    • Configures plugins for various tasks like compiling code, running tests, packaging the project

    • Helps in managing project lifecycle phases like clean, compile, test, package,

  • Answered by AI
  • Q9. Explain the practical difference between GET & POST method calls?
  • Ans. 

    GET is used to request data from a specified resource, while POST is used to submit data to a specified resource.

    • GET requests are idempotent, meaning they can be repeated without changing the result, while POST requests are not.

    • GET requests can be cached, bookmarked, and shared, while POST requests cannot.

    • GET requests have a limit on the amount of data that can be sent, while POST requests do not have such limitations.

    • ...

  • Answered by AI
  • Q10. Using single API endpoint can you perform all 3 operations, 1- Get the data, 2- Supply the data, 3- delete the data?
  • Ans. 

    Yes, by implementing a RESTful API with different HTTP methods for each operation.

    • Implement a RESTful API with different endpoints for each operation: GET for retrieving data, POST for supplying data, and DELETE for deleting data.

    • For example, GET /data to retrieve data, POST /data to supply data, and DELETE /data/{id} to delete data by ID.

    • Use proper HTTP methods and status codes to handle each operation effectively.

  • Answered by AI
  • Q11. Do you have cloud exposure?
  • Ans. 

    Yes, I have experience working with cloud technologies such as AWS, Azure, and Google Cloud Platform.

    • Experience with AWS, Azure, and Google Cloud Platform

    • Deploying applications on cloud infrastructure

    • Working with cloud services like EC2, S3, and RDS

  • Answered by AI
  • Q12. What other technologies have you worked upon, in what capacity?
  • Ans. 

    I have worked with technologies such as Spring Boot, Hibernate, Angular, and Docker in various projects.

    • Spring Boot

    • Hibernate

    • Angular

    • Docker

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Give mock interviews

Skills evaluated in this interview

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

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

Round 1 - Technical 

(4 Questions)

  • Q1. Project related questions, architecture, exception handling, Kafka use case.
  • Q2. Oops question functional interface, marker interface.
  • Q3. Memory leaks and how to avoid the same.
  • Ans. 

    Memory leaks occur when a program allocates memory but does not release it, leading to inefficient memory usage.

    • Use tools like profilers to identify memory leaks in Java applications.

    • Avoid creating unnecessary objects and ensure proper garbage collection.

    • Avoid static references to objects that can prevent them from being garbage collected.

    • Close resources like files, database connections, and streams after use to preven

  • Answered by AI
  • Q4. Multi threading question
Round 2 - Technical 

(3 Questions)

  • Q1. Pom related questions how many scope available.
  • Q2. Agile related questions
  • Q3. Comparable vs comparator
  • Ans. 

    Comparable is an interface used for natural ordering, while Comparator is an interface used for custom ordering.

    • Comparable is implemented by the class itself to define the natural ordering of objects.

    • Comparator is implemented by a separate class to define custom ordering of objects.

    • Example: String class implements Comparable interface for natural ordering, while Collections class uses Comparator for custom sorting.

  • Answered by AI

Skills evaluated in this interview

Senior Java Developer Interview Questions Asked at Other Companies

asked in Amdocs
Q1. Delete Kth node From EndYou have been given a singly Linked List ... read more
asked in Amdocs
Q2. Intersection of Linked ListYou are given two Singly Linked List o ... read more
asked in Amdocs
Q3. Merge Two Sorted Linked ListsYou are given two sorted linked list ... read more
asked in Amdocs
Q4. LRU Cache ImplementationDesign and implement a data structure for ... read more
Q5. When to use abstract class and when should we use interfaces in J ... read more
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

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

Round 1 - Technical 

(2 Questions)

  • Q1. OOO concepts, multithreading, previous project
  • Q2. Microservices, mysql etc
Round 2 - HR 

(1 Question)

  • Q1. Salary discussion

Interview Preparation Tips

Interview preparation tips for other job seekers - Basic concepts should be clear
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via LinkedIn and was interviewed in Sep 2024. There were 2 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. Versions used in tomcat and springboot
  • Ans. 

    Tomcat and Spring Boot versions are independent of each other, but they can be compatible with each other.

    • Tomcat versions can range from 7.x to 10.x, with the latest stable version being 10.0.12.

    • Spring Boot versions are typically aligned with Spring Framework versions, with the latest stable version being 2.5.4.

    • It is important to ensure compatibility between the Tomcat and Spring Boot versions being used in a project.

  • Answered by AI
  • Q2. Unit testing test coverage
Round 2 - HR 

(1 Question)

  • Q1. Salary discussions and location

Skills evaluated in this interview

Infosys interview questions for designations

 Java Developer

 (143)

 Junior Java Developer

 (6)

 Java Software Developer

 (3)

 Associate Java Developer

 (2)

 Java Developer Trainee

 (1)

 Backend Java Developer

 (2)

 Java Developer Consultant

 (1)

 Lead Java Developer

 (1)

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

(2 Questions)

  • Q1. Can static method be overloaded?
  • Ans. 

    Yes, static methods can be overloaded in Java.

    • Static methods can be overloaded in Java by having multiple static methods in the same class with the same name but different parameters.

    • The method signature (name + parameters) must be different for each overloaded static method.

    • Example: public static void method(int x) and public static void method(String s) are overloaded static methods.

  • Answered by AI
  • Q2. What is difference between method reference and functional interface?
  • Ans. 

    Method reference is a shorthand syntax for lambda expressions, while functional interface is an interface with a single abstract method.

    • Method reference is used to refer to methods or constructors without invoking them, providing a more concise way to write lambda expressions.

    • Functional interface is an interface that has only one abstract method, which can be implemented using lambda expressions or method references.

    • Ex...

  • Answered by AI

Get interview-ready with Top Infosys Interview Questions

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

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

Round 1 - Technical 

(1 Question)

  • Q1. Ask to write a program using collections, switch case,string operations,

Interview Preparation Tips

Topics to prepare for Infosys Senior Java Developer interview:
  • Java
Interview preparation tips for other job seekers - If you are a experienced try to put more effort in coding part.
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

2 coding questions.
1 on linkedlist
1 on arrays and string

Round 2 - Technical 

(2 Questions)

  • Q1. About project experience
  • Q2. Basic java questions
Round 3 - HR 

(2 Questions)

  • Q1. How was your experience
  • Ans. 

    My experience as a Senior Java Developer has been extensive and rewarding.

    • Worked on developing and maintaining large-scale Java applications

    • Led a team of developers in implementing new features and resolving technical issues

    • Collaborated with cross-functional teams to ensure project success

  • Answered by AI
  • Q2. How much is your expectation
  • Ans. 

    My expectation is to be compensated fairly based on my experience, skills, and the market rate for Senior Java Developers.

    • Expectation is to be compensated fairly based on experience and skills

    • Consider market rate for Senior Java Developers

    • Open to negotiation based on additional benefits or perks

  • Answered by AI
Interview experience
3
Average
Difficulty level
Easy
Process Duration
2-4 weeks
Result
Not Selected

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

Round 1 - Technical 

(2 Questions)

  • Q1. Streams coding question
  • Q2. Solid principal
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Mar 2024. There were 2 interview rounds.

Round 1 - One-on-one 

(3 Questions)

  • Q1. Java 8, Spring Boot, annotations, SQL
  • Q2. Stream api, lambda expressions, functional interfaces
  • Q3. Project related questions
Round 2 - One-on-one 

(1 Question)

  • Q1. Project related questions were asked

Interview Preparation Tips

Topics to prepare for Infosys Senior Java Developer interview:
  • java 8
  • Spring Boot
  • stream api
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
Selected Selected
Round 1 - Coding Test 

Basic question core java.

Round 2 - Technical 

(2 Questions)

  • Q1. Max focus on memory management.
  • Q2. Create object, Static keyword, JVM
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Job Portal and was interviewed in Feb 2024. There were 2 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. Heap memory and stack memory
Round 2 - Technical 

(2 Questions)

  • Q1. What is singleton? Exception Handling? Core java concept? Multithreading?
  • Q2. What about concurrent HashMap? spring framework IOC And DI
  • Ans. 

    ConcurrentHashMap is a thread-safe implementation of the Map interface in Java.

    • ConcurrentHashMap allows multiple threads to read and write to the map concurrently without the need for external synchronization.

    • It is part of the java.util.concurrent package and provides better performance in multi-threaded environments compared to synchronized HashMap.

    • Spring framework supports the use of ConcurrentHashMap for managing be...

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Infosys Senior Java Developer interview:
  • Core Java
  • Spring fremwork
  • Spring Mvc
  • Collections
  • OOPS
  • Database
  • REST API
  • Microservices
  • AWS

Skills evaluated in this interview

Infosys Interview FAQs

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

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

  1. A query in backend yields to 500 results but in UI you have to sort it to 10 re...read more
  2. If I have OS and JDK only How will you setup a Spring-Boot project in my lapt...read more
  3. Using single API endpoint can you perform all 3 operations, 1- Get the data, 2-...read more
How long is the Infosys Senior Java Developer interview process?

The duration of Infosys Senior 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 Senior Java Developer Interview Process

based on 16 interviews in last 1 year

2 Interview rounds

  • Technical Round 1
  • Technical Round 2
View more

People are getting interviews through

based on 10 Infosys interviews
Job Portal
Company Website
Referral
50%
30%
10%
10% candidates got the interview through other sources.
Moderate Confidence
?
Moderate Confidence means the data is based on a sufficient number of responses received from the candidates
Join Infosys Creating the next opportunity for people, businesses & communities
Infosys Senior Java Developer Salary
based on 121 salaries
₹4.4 L/yr - ₹17.2 L/yr
35% less than the average Senior Java Developer Salary in India
View more details

Infosys Senior Java Developer Reviews and Ratings

based on 9 reviews

4.3/5

Rating in categories

4.1

Skill development

4.2

Work-Life balance

3.9

Salary & Benefits

4.5

Job Security

4.4

Company culture

3.9

Promotions/Appraisal

4.3

Work Satisfaction

Explore 9 Reviews and Ratings
Technology Analyst
56.3k salaries
unlock blur

₹3 L/yr - ₹11 L/yr

Senior Systems Engineer
49.7k salaries
unlock blur

₹2.8 L/yr - ₹8 L/yr

System Engineer
39k 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.2k salaries
unlock blur

₹4.3 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

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Did you find this page helpful?
Yes No
write
Share an Interview