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

Filter interviews by

Infosys Java Software Developer Interview Questions and Answers

Updated 2 Feb 2024

Infosys Java Software Developer Interview Experiences

3 interviews found

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

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

Round 1 - Technical 

(4 Questions)

  • Q1. Jira/Agile related questions, and how you handle it in your current project?
  • Q2. How you handle Exception in Spring Boot?
  • Ans. 

    Exception handling in Spring Boot involves using try-catch blocks, global exception handlers, and custom exception classes.

    • Use try-catch blocks to handle exceptions within specific methods.

    • Implement global exception handlers to handle exceptions across the entire application.

    • Create custom exception classes to handle specific types of exceptions.

    • Use the @ExceptionHandler annotation to define methods that handle specific...

  • Answered by AI
  • Q3. What are JPA entity graphs?
  • Ans. 

    JPA entity graphs define the relationships between entities and specify which attributes to fetch.

    • JPA entity graphs are used to optimize database queries by specifying the relationships between entities.

    • They allow developers to define which attributes of an entity should be fetched from the database.

    • Entity graphs can be defined using annotations or programmatically using the JPA API.

    • By using entity graphs, developers c...

  • Answered by AI
  • Q4. What's JVM memory model?
  • Ans. 

    JVM memory model defines how Java programs allocate and manage memory.

    • JVM memory model is divided into several areas like heap, stack, method area, etc.

    • Heap is used for dynamic memory allocation, while stack is used for method calls and local variables.

    • Method area stores class-level data like bytecode, constant pool, etc.

    • JVM memory model ensures memory safety through garbage collection.

    • Examples of JVM memory management...

  • Answered by AI

Skills evaluated in this interview

I applied via Naukri.com and was interviewed in Nov 2022. There were 5 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 - Aptitude Test 

Be an freshers aptitude and reasoning skills are important

Round 3 - Coding Test 

To prove my coding levels in the exam is very important for freshers

Round 4 - Technical 

(1 Question)

  • Q1. The interview was test my skills if i was perfect in infosys company
Round 5 - HR 

(1 Question)

  • Q1. Salary discussion, relocate and flexible for any locations

Interview Preparation Tips

Interview preparation tips for other job seekers - Be a fresher, I want to prove my self and I want to be independent person

Java Software Developer Interview Questions Asked at Other Companies

asked in Synechron
Q1. How do you convert list to arraylist? And vice versa
asked in Synechron
Q2. What are functional interfaces? What is the need to have function ... read more
Q3. When two threads access the same array list object what is the ou ... read more
asked in HCLTech
Q4. Q14) Can We write Procedures in String Data JPA? How to handle co ... read more
asked in Synechron
Q5. How do you handle exceptions in Rest APIs

Interview Preparation Tips

Interview preparation tips for other job seekers - Be cool

Java Software Developer Jobs at Infosys

View all

Interview questions from similar companies

Interview experience
4
Good
Difficulty level
-
Process Duration
2-4 weeks
Result
-
Round 1 - Aptitude Test 

Approximately 20 questions covering quantitative reasoning and English were provided to solve within one hour.

Round 2 - Coding Test 

Questions were asked about Java OOP principles, the collection framework, and features introduced in Java 8.

Round 3 - HR 

(2 Questions)

  • Q1. This was simple hr round with some managerial questions.
  • Q2. CTC Negotiation

Interview Preparation Tips

Interview preparation tips for other job seekers - Wishing all aspirants the best of luck on their journey ahead.
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Explain oops concepts
  • Ans. 

    OOPs concepts are fundamental principles of object-oriented programming such as inheritance, encapsulation, polymorphism, and abstraction.

    • Inheritance: Allows a class to inherit properties and behavior from another class.

    • Encapsulation: Bundling data and methods that operate on the data into a single unit.

    • Polymorphism: Ability to present the same interface for different data types.

    • Abstraction: Hiding the complex implemen...

  • Answered by AI
  • Q2. Java8 new futures
Interview experience
4
Good
Difficulty level
Easy
Process Duration
-
Result
No response

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

Round 1 - Phone Interview 

(2 Questions)

  • Q1. What is difference between abstract class and interface
  • Ans. 

    Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.

    • Abstract class can have constructor, fields, and methods, while interface cannot have any of these.

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

    • Abstract classes are used to provide a common base for subclasses, while interfaces are used to define a contract for classes to im...

  • Answered by AI
  • Q2. What is difference between arraist and linked list
  • Ans. 

    Arrays store elements in contiguous memory locations, while linked lists store elements in nodes with pointers to the next node.

    • Arrays have fixed size, while linked lists can dynamically grow or shrink.

    • Accessing elements in arrays is faster (O(1)), while accessing elements in linked lists is slower (O(n)).

    • Inserting or deleting elements in arrays can be inefficient as it may require shifting elements, while in linked li

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
-
Result
-

I applied via Naukri.com and was interviewed in Sep 2023. 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 

(12 Questions)

  • Q1. Q1) What version of Java Are you currently using in your Project? Q2) What are the features Of Java 8? Q3) What is MetaSpace in java 8 Q) What is Spring Exeector Framework? Q)
  • Ans. 

    Java 8 introduced new features like lambda expressions, Stream API, default methods, and more.

    • Lambda expressions allow functional programming in Java.

    • Stream API provides a way to work with collections in a more functional style.

    • Default methods allow interfaces to have method implementations.

    • Java 8 also introduced the new Date and Time API, Nashorn JavaScript engine, and more.

    • MetaSpace in Java 8 is a replacement for the...

  • Answered by AI
  • Q2. Q4) What is the Changes w.r.t Hashmap in java 8 over java 7?
  • Ans. 

    Java 8 introduced several enhancements to HashMap including performance improvements and new methods.

    • Java 8 introduced the 'compute', 'computeIfAbsent', and 'computeIfPresent' methods for HashMap.

    • The 'forEach' method was added to HashMap in Java 8 for iterating over key-value pairs.

    • Java 8 also introduced the 'merge' method for combining values in case of duplicate keys.

  • Answered by AI
  • Q3. Q5) What is the difference between Race Condition and Deadlock in java?
  • Ans. 

    Race condition occurs when multiple threads try to access and modify the same resource simultaneously, while deadlock occurs when two or more threads are waiting for each other to release resources.

    • Race condition is a situation in which the outcome of a program depends on the order of execution of its threads.

    • Deadlock is a situation where two or more threads are blocked forever, waiting for each other to release resour...

  • Answered by AI
  • Q4. Q6) What is the ResponseState and ServerState Difference?
  • Ans. 

    ResponseState and ServerState are different states in a software system that represent different aspects of the system's functionality.

    • ResponseState typically refers to the state of a response object in a software system, indicating whether the response was successful, failed, or pending.

    • ServerState, on the other hand, refers to the state of the server in a software system, indicating whether the server is running, sto...

  • Answered by AI
  • Q5. Q7) What is exception handling mechanism which you are implemented in your project?
  • Ans. 

    I have implemented try-catch blocks for handling exceptions in my project.

    • Used try-catch blocks to catch exceptions and handle them gracefully

    • Implemented specific catch blocks for different types of exceptions

    • Utilized finally block for cleanup operations after exception handling

  • Answered by AI
  • Q6. Q8 ) What is ConcurrentModificationException In Java?
  • Ans. 

    ConcurrentModificationException is thrown when an object is modified concurrently while iterating over it.

    • Occurs when a collection is modified while being iterated over using an iterator

    • Can be avoided by using ConcurrentHashMap or CopyOnWriteArrayList

    • Example: ArrayList being modified while iterating over it

  • Answered by AI
  • Q7. Q9) Do you done unit testing In your project? How Unit testing is significant in your project?
  • Ans. 

    Yes, unit testing is essential in my projects to ensure code quality and identify bugs early on.

    • Yes, I have experience with unit testing in my projects.

    • Unit testing helps in identifying bugs early in the development process.

    • It ensures code quality and helps in maintaining code integrity.

    • Unit tests also serve as documentation for the codebase.

    • Examples: JUnit, Mockito, TestNG.

  • Answered by AI
  • Q8. Q10) What is difference Between @EnableMock and @Spy in Junit5?
  • Ans. 

    The main difference between @EnableMock and @Spy in Junit5 is that @EnableMock creates a mock object while @Spy creates a spy object.

    • The @EnableMock annotation is used to create a mock object for a class or interface, allowing you to define its behavior using Mockito.

    • The @Spy annotation is used to create a spy object, which is a real object with some mock behavior. It allows you to mock specific methods while calling t...

  • Answered by AI
  • Q9. Q11) How do you secure your REST API's
  • Ans. 

    Securing REST API's involves using authentication, authorization, encryption, and input validation.

    • Use authentication mechanisms like OAuth, JWT, or API keys to verify the identity of clients accessing the API.

    • Implement authorization to control what actions different users can perform on the API.

    • Encrypt data transmission using HTTPS to prevent eavesdropping and man-in-the-middle attacks.

    • Validate and sanitize input data...

  • Answered by AI
  • Q10. Q12) What is difference between @PutMapping and @PatchMapping?
  • Ans. 

    The main difference between @PutMapping and @PatchMapping is the level of data that is updated.

    • PutMapping is used to update an entire resource, while PatchMapping is used to update only specific fields of a resource.

    • PutMapping replaces the entire resource with the new data provided, while PatchMapping updates only the specified fields.

    • PutMapping is idempotent, meaning multiple identical requests will have the same effe...

  • Answered by AI
  • Q11. Q13) How the Interprocess Communication is happened in the Microservices architecture?
  • Ans. 

    Interprocess Communication in Microservices architecture is typically achieved through lightweight protocols like HTTP or messaging queues.

    • Microservices communicate with each other using RESTful APIs over HTTP.

    • Message brokers like Kafka or RabbitMQ are used for asynchronous communication between microservices.

    • Service mesh tools like Istio can be used to manage communication between microservices.

    • gRPC can be used for hi...

  • Answered by AI
  • Q12. Q14) Can We write Procedures in String Data JPA? How to handle complex database in Spring Data JPA persistence? using Procedures ---> Ans : Yes
  • Ans. 

    Yes, we can write procedures in String Data JPA to handle complex databases in Spring Data JPA persistence.

    • Use @Procedure annotation to call stored procedures in Spring Data JPA.

    • Define the stored procedure in the database and then call it using the @Procedure annotation in the repository interface.

    • Handle complex database operations by writing custom queries or using native queries in Spring Data JPA.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - interview was moderate...focus on concept in depth therotically, No coding questions are asked in the interview...But For another candidate there may be chances of asking java coding interview questions

Skills evaluated in this interview

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

I applied via Job Portal and was interviewed in Jul 2023. There was 1 interview round.

Round 1 - Technical 

(4 Questions)

  • Q1. Use of spring-boot dev tools
  • Ans. 

    Spring Boot Dev Tools is a set of utilities that help in development and debugging of Spring Boot applications.

    • Spring Boot Dev Tools provides automatic restart of the application when changes are detected in the classpath.

    • It enables live reloading of static resources like HTML, CSS, and JavaScript without restarting the server.

    • Dev Tools also enhances the developer experience by providing additional features like remote...

  • Answered by AI
  • Q2. Synchronized collections
  • Q3. Session Factory in Hibernate
  • Ans. 

    Session Factory is a factory class that creates Session objects for Hibernate.

    • Session Factory is responsible for creating and managing Session objects.

    • It is a thread-safe object and should be created only once per application.

    • It is typically created during application startup and closed during shutdown.

    • It is configured with database connection details and Hibernate properties.

    • Example: SessionFactory sessionFactory = ne...

  • Answered by AI
  • Q4. Java Generics knowledge

Interview Preparation Tips

Interview preparation tips for other job seekers - Brush up well on Java collections, spring annotations, microservices, Java threads if you are looking out for opportunities in Java, Spring Boot tech stack.

Skills evaluated in this interview

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 Jun 2023. There were 5 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - Aptitude Test 

Logical aptitude.
Spatial aptitude.
Organisational aptitude.
Physical aptitude.

Round 3 - Case Study 

Why they chose your company.
How your product solved the problem clients faced.
The measurable results of the service provided.

Round 4 - HR 

(5 Questions)

  • Q1. Self introduction for
  • Q2. Introduction your self
  • Q3. Why do you choose this company
  • Q4. I'm like all food my
  • Ans. Favourite food is biriyani it's my All time favourite
  • Answered Anonymously
  • Q5. That all when I'm thinking
Round 5 - Group Discussion 

Group discussion means one of the news project will be comes we're discussing about that project it's is group discussion

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Shine and was interviewed in Jul 2023. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Properly align and format text in your resume. A recruiter will have to spend more time reading poorly aligned text, leading to high chances of rejection.
View all tips
Round 2 - Aptitude Test 

General knowledge questions and skills related questions

Round 3 - HR 

(3 Questions)

  • Q1. Interview by tech Mahindra HR related to java, introduction, positive points, negative points and why they are hired me
  • Q2. Why they are hired me in their company?
  • Q3. Self Introduction, positive points and negative points

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident and be positive

Infosys Interview FAQs

How many rounds are there in Infosys Java Software Developer interview?
Infosys interview process usually has 3 rounds. The most common rounds in the Infosys interview process are Technical, Resume Shortlist and Aptitude Test.
How to prepare for Infosys Java Software 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, Hibernate, Java Spring Boot, Microservices and Application Programming.
What are the top questions asked in Infosys Java Software Developer interview?

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

  1. How you handle Exception in Spring Bo...read more
  2. What are JPA entity grap...read more
  3. What's JVM memory mod...read more

Tell us how to improve this page.

Join Infosys Creating the next opportunity for people, businesses & communities
Infosys Java Software Developer Salary
based on 46 salaries
₹2.8 L/yr - ₹8.4 L/yr
23% less than the average Java Software Developer Salary in India
View more details

Infosys Java Software Developer Reviews and Ratings

based on 5 reviews

3.1/5

Rating in categories

3.5

Skill development

4.1

Work-life balance

2.6

Salary

3.7

Job security

3.0

Company culture

2.0

Promotions

2.7

Work satisfaction

Explore 5 Reviews and Ratings
Java Software Developer-A-pune,bengaluru

Chennai,

Bangalore / Bengaluru

+1

5-10 Yrs

Not Disclosed

Java Software Developer-Ab-Bangalore

Kolkata,

Ahmedabad

+1

5-10 Yrs

Not Disclosed

Java Software Developer_Pune

Pune,

Chennai

+1

5-10 Yrs

Not Disclosed

Explore more jobs
Technology Analyst
56.9k 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 - ₹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.7 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