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 Programmer Interview Questions, Process, and Tips

Updated 28 Nov 2021

Infosys Java Programmer Interview Experiences

1 interview found

I applied via Naukri.com and was interviewed in Oct 2021. There were 4 interview rounds.

Interview Questionnaire 

8 Questions

  • Q1. What use of JVM in java?
  • Ans. 

    JVM is used to execute Java bytecode and provide platform independence.

    • JVM stands for Java Virtual Machine.

    • It interprets compiled Java code and executes it.

    • JVM provides platform independence by converting bytecode to machine-specific code.

    • JVM also manages memory allocation and garbage collection.

    • Examples of JVM-based languages include Kotlin and Scala.

  • Answered by AI
  • Q2. Expand of JRE?
  • Ans. 

    JRE stands for Java Runtime Environment.

    • JRE is a software package that provides the necessary runtime environment for Java applications to run.

    • It includes the Java Virtual Machine (JVM), class libraries, and other supporting files.

    • JRE is required to run Java applications on a computer.

    • Examples of Java applications that require JRE include Eclipse, NetBeans, and Minecraft.

  • Answered by AI
  • Q3. Who is java Father?
  • Ans. 

    James Gosling is considered the father of Java programming language.

    • James Gosling is a Canadian computer scientist who created the Java programming language.

    • He developed Java while working at Sun Microsystems in the mid-1990s.

    • Java was initially designed for interactive television, but it quickly gained popularity for its platform independence and object-oriented features.

    • Gosling's team also developed the original Java ...

  • Answered by AI
  • Q4. Java programming uses?
  • Ans. 

    Java programming uses object-oriented programming principles and a robust set of libraries and frameworks.

    • Java uses object-oriented programming principles such as encapsulation, inheritance, and polymorphism.

    • Java has a rich set of libraries and frameworks for various purposes like GUI development, networking, database connectivity, etc.

    • Java supports multithreading, exception handling, and dynamic memory allocation.

    • Java...

  • Answered by AI
  • Q5. What is Java Program?
  • Ans. 

    Java Program is a set of instructions written in the Java programming language that can be executed by a computer.

    • Java Program is a collection of classes and methods that define the behavior of a software application.

    • It is written in the Java programming language and can be executed on any platform that has a Java Virtual Machine (JVM).

    • Java Programs are compiled into bytecode, which is then interpreted and executed by ...

  • Answered by AI
  • Q6. What is object?
  • Ans. 

    An object is a fundamental concept in object-oriented programming, representing a real-world entity with its own state and behavior.

    • An object is an instance of a class.

    • It encapsulates data and methods.

    • Objects can interact with each other through method calls.

    • Example: A car object can have properties like color and speed, and methods like start() and stop().

  • Answered by AI
  • Q7. Object is a real time entity and combination of state and behavior.
  • Q8. What is Class?
  • Ans. 

    A class is a blueprint for creating objects in object-oriented programming.

    • A class is a template that defines the properties and behaviors of objects.

    • It encapsulates data and methods that operate on that data.

    • Objects are instances of a class.

    • Classes can inherit properties and behaviors from other classes through inheritance.

    • Example: class Car { String color; void start() { ... } }

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - My question is basic questions but it is very useful questions.

Skills evaluated in this interview

Interview questions from similar companies

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

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

Round 1 - Aptitude Test 

Arithmetic, reasoning, English

Interview Preparation Tips

Interview preparation tips for other job seekers - Fresher
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Approached by Company 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 

Technical reading Writing of programmes

Round 3 - Coding Test 

Writing the coding is technically, and correctly

Round 4 - Assignment 

Reading and Writing the programme individually

Round 5 - HR 

(5 Questions)

  • Q1. About my education and institute
  • Q2. About my resume and personal
  • Q3. About my any other qualification
  • Q4. About my experience, and knowledge
  • Q5. About suitable time for job

Interview Preparation Tips

Interview preparation tips for other job seekers - Rite personality, time management , detailed answers all about the questions.

I applied via Referral and was interviewed in Apr 2022. There were 2 interview rounds.

Round 1 - Coding Test 

Python,java

Round 2 - Group Discussion 

Bluetoth

Interview Preparation Tips

Interview preparation tips for other job seekers - very useful secur by the job very super

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

Interview Questionnaire 

1 Question

  • Q1. Java basic interview questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Propare jave basic interview preparation
Interview experience
1
Bad
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I was interviewed in Jan 2025.

Round 1 - Coding Test 

A sequence was provided: 4181, 2684, 1597, 987, 610.
first 2 are given and write code for other value calculation using java 8

The second question required writing a reverse of a palindrome using both Java 8 streams. I was able to successfully write both and clear the first round.

Round 2 - Technical 

(6 Questions)

  • Q1. Interviewer was himself not knowing anything as it was walkin drive he was sitting infront of me and checking questions on phone Introduction that he inturrepted in between when I was introducing myself
  • Q2. What are the features of Java 17, specifically related to sealed classes, including their syntax and necessity, along with the potential errors encountered when invoking a sealed class?
  • Ans. 

    Java 17 introduces sealed classes to restrict inheritance and improve code maintainability.

    • Sealed classes are declared using the 'sealed' keyword followed by the permitted subclasses.

    • Subclasses of a sealed class must be either final or sealed themselves.

    • Errors may occur when trying to extend a sealed class with a non-permitted subclass.

  • Answered by AI
  • Q3. Java 8 feathers stream api, functional interface, Intermittent operator ,Ternary operator, Prediction,Bi predicate. Answered all successfully
  • Q4. Draw low level design of implementation of notify me if item is back in stock in a ecommerce application
  • Ans. 

    Implementation of 'notify me if item is back in stock' feature in an ecommerce application

    • Create a database table to store user notifications for out-of-stock items

    • Implement a service to check item availability and send notifications to subscribed users

    • Provide a user interface for users to subscribe to notifications for specific items

  • Answered by AI
  • Q5. All design patterns which I know. Asked me to implement adapter pattern on paper
  • Q6. Then given a problem that concurrent way perform operation on excell to decrease the response time

Interview Preparation Tips

Interview preparation tips for other job seekers - I always suggest staying away from these companies commonly referred to as WITCH (Wipro, Infosys, TCS, Cognizant, HCL). You will rarely encounter good interviewers there unless there is an extreme necessity. Interview was judging me on the basis of syntex by seeing in his phone. How can everyone write each and everything on copy. For the low level design first time in my 6 years carrier someone asked to design without using kafka or any other library like spring boot to achieve that add in reminder list problem 😂. At first it was my bad after holding a offer of almost 27 lakh I somehow agreed for giving interview. Second thing I also know that after Even clearing they cannot afford 30LPA which I asked. I just went there because from last 6.5 year I have never attended any walking or face to face interview so was curious for it. Currently also working with somewhat premium product development company only. My experience was very bad. May be it can get vary person to person.
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

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

Round 1 - Technical 

(6 Questions)

  • Q1. Java 8 , java 11 and java 17 features?
  • Ans. 

    Java 8 introduced lambda expressions, Java 11 added local-variable syntax for lambda parameters, and Java 17 included sealed classes and pattern matching.

    • Java 8 introduced lambda expressions for functional programming.

    • Java 11 added local-variable syntax for lambda parameters to simplify code.

    • Java 17 included sealed classes to restrict inheritance and pattern matching for instanceof checks and type casts.

  • Answered by AI
  • Q2. Dispatcher servlet, design patterns
  • Q3. @SpringbootApplication annotation, actuators
  • Q4. String Coding question with java 8 features such as lambda function and stream api
  • Q5. Number of words in a string
  • Ans. 

    Count the number of words in a given string.

    • Split the string by spaces and count the number of resulting elements.

    • Handle edge cases like multiple spaces or empty strings.

    • Consider punctuation marks as part of words unless specified otherwise.

  • Answered by AI
  • Q6. Microservice design patterns
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
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
  • Ans. 

    Intermediate operations transform the elements of a stream, while terminal operations produce a result or side-effect.

    • Intermediate operations include map, filter, sorted, distinct, etc.

    • Terminal operations include forEach, collect, reduce, count, etc.

    • Intermediate operations are lazy and do not execute until a terminal operation is called.

    • Terminal operations trigger the processing of the stream and produce a result.

  • Answered by AI
  • Q2. Predefined functional interface
  • Q3. Ways to create Thread
  • Ans. 

    Ways to create Thread in Java

    • Extending the Thread class

    • Implementing the Runnable interface

    • Using Executor framework

  • Answered by AI

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
Less than 2 weeks
Result
No response

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

Round 1 - One-on-one 

(3 Questions)

  • Q1. Difference between hashmap and hash table
  • Ans. 

    HashMap is non-synchronized and allows null values, while HashTable is synchronized and does not allow null values.

    • HashMap is non-synchronized, meaning it is not thread-safe, while HashTable is synchronized and thread-safe.

    • HashMap allows null values for both keys and values, while HashTable does not allow null keys or values.

    • HashMap is generally preferred for non-thread-safe applications, while HashTable is used in mul

  • Answered by AI
  • Q2. Static block related questions
  • Q3. Arraylist and linkedlist question

Skills evaluated in this interview

Infosys Interview FAQs

How to prepare for Infosys Java Programmer 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, Spring Boot, Microservices, Hibernate and J2Ee.
What are the top questions asked in Infosys Java Programmer interview?

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

  1. What use of JVM in ja...read more
  2. What is Java Progr...read more
  3. What is Cla...read more

Tell us how to improve this page.

Infosys Java Programmer Interview Process

based on 1 interview

Interview experience

3
  
Average
View more
Join Infosys Creating the next opportunity for people, businesses & communities

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.4k Interviews
Accenture Interview Questions
3.8
 • 8.2k Interviews
Wipro Interview Questions
3.7
 • 5.6k Interviews
Cognizant Interview Questions
3.8
 • 5.6k Interviews
Capgemini Interview Questions
3.7
 • 4.8k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.8k Interviews
HCLTech Interview Questions
3.5
 • 3.8k Interviews
Genpact Interview Questions
3.8
 • 3.1k Interviews
LTIMindtree Interview Questions
3.8
 • 3k Interviews
IBM Interview Questions
4.0
 • 2.4k Interviews
View all
Infosys Java Programmer Salary
based on 10 salaries
₹3 L/yr - ₹10 L/yr
16% more than the average Java Programmer Salary in India
View more details

Infosys Java Programmer Reviews and Ratings

based on 2 reviews

4.3/5

Rating in categories

4.0

Skill development

2.3

Work-life balance

3.0

Salary

3.6

Job security

3.6

Company culture

4.6

Promotions

3.7

Work satisfaction

Explore 2 Reviews and Ratings
Technology Analyst
55.9k salaries
unlock blur

₹3 L/yr - ₹11 L/yr

Senior Systems Engineer
50.4k salaries
unlock blur

₹2.8 L/yr - ₹8 L/yr

System Engineer
39.5k salaries
unlock blur

₹2.5 L/yr - ₹5.5 L/yr

Technical Lead
30.8k salaries
unlock blur

₹5.2 L/yr - ₹19.5 L/yr

Senior Associate Consultant
27.7k 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.8
Compare
Did you find this page helpful?
Yes No
write
Share an Interview