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 Work with us arrow

Compare button icon Compare button icon Compare

Filter interviews by

Infosys Springboot Developer Interview Questions and Answers

Updated 6 Sep 2024

10 Interview questions

A Springboot Developer was asked 9mo ago
Q. Explain Spring filters briefly.
Ans. 

Spring filters are components in Spring framework that intercept incoming HTTP requests and outgoing HTTP responses.

  • Filters are used to perform tasks like logging, authentication, authorization, etc.

  • They are configured in the web.xml file or using annotations like @WebFilter.

  • Example: javax.servlet.Filter interface is implemented to create custom filters.

A Springboot Developer was asked 9mo ago
Q. Explain the Stream API in Java 8.
Ans. 

Stream API in Java 8 allows for functional-style operations on collections.

  • Stream API provides a way to process collections of objects in a functional way.

  • It supports operations like filter, map, reduce, and collect.

  • Example: List<String> names = Arrays.asList("Alice", "Bob", "Charlie"); Stream<String> stream = names.stream();

  • Example: List<Integer> numbers = Arrays.asList(1, 2, 3, 4, 5); int sum =...

Springboot Developer Interview Questions Asked at Other Companies

asked in Infosys
Q1. SpringBoot Annotations configuration linkedlist vs arraylist tomc ... read more
asked in Infosys
Q2. What is method overloading and method overriding
asked in TCS
Q3. Write a Spring Boot application to accept two values and generate ... read more
Q4. @Restcontroller combines @controller and @ResponseBody, simplifyi ... read more
asked in eLOCALS
Q5. How would you build an API or web service to aggregate updated ne ... read more
A Springboot Developer was asked 9mo ago
Q. Explain the static keyword.
Ans. 

Static keyword is used in Java to create class-level variables and methods.

  • Static variables are shared among all instances of a class

  • Static methods can be called without creating an instance of the class

  • Static keyword can also be used to create static blocks for initialization

A Springboot Developer was asked
Q. What is the difference between @RestController and @Controller in Spring Boot?
Ans. 

RestController is specialized version of controller used for RESTful web services in Spring framework.

  • RestController is used to create RESTful web services that return JSON or XML data, while Controller is used to create web pages that return HTML data.

  • RestController annotation is a combination of @Controller and @ResponseBody annotations.

  • RestController is typically used for building RESTful APIs, while Controller...

A Springboot Developer was asked
Q. What is a bean factory?
Ans. 

Bean factory is a container for managing beans in Spring framework.

  • Bean factory is responsible for creating, managing, and configuring beans in a Spring application.

  • It uses inversion of control (IoC) to manage the beans.

  • Beans are defined in a configuration file (XML or Java) and the bean factory instantiates them.

  • Example: ApplicationContext is a type of bean factory in Spring framework.

A Springboot Developer was asked
Q. What is the difference between @Bean and @Component?
Ans. 

The @Bean annotation is used to define a method that returns an object to be registered as a bean in the Spring application context. The @Component annotation is used to indicate that a class is a Spring component.

  • The @Bean annotation is used on methods within a @Configuration class to define Spring beans.

  • The @Component annotation is used on classes to indicate that they are Spring components.

  • The @Bean annotation ...

🔥 Asked by recruiter 2 times
A Springboot Developer was asked
Q. What is a singleton?
Ans. 

Singleton is a design pattern that restricts the instantiation of a class to only one object.

  • Ensures a class has only one instance and provides a global point of access to it.

  • Commonly used in scenarios where a single instance of a class is needed, such as database connections or thread pools.

  • Implemented by creating a static method to return the same instance of the class every time it is called.

Are these interview questions helpful?
A Springboot Developer was asked 9mo ago
Q. Flat map vs map
Ans. 

Flat map is used to flatten nested collections, while map is used to transform elements in a collection.

  • Flat map is used when you have a collection of collections and you want to flatten it into a single collection.

  • Map is used to transform each element in a collection using a given function.

  • Example: Using flatMap to flatten a list of lists - list.stream().flatMap(List::stream).collect(Collectors.toList())

  • Example: ...

A Springboot Developer was asked 9mo ago
Q. Paraller programming concepts in java 8
Ans. 

Java 8 introduced parallel programming concepts like streams, parallel streams, and CompletableFuture.

  • Java 8 introduced streams which allow for functional-style operations on collections.

  • Parallel streams allow for parallel processing of stream elements, improving performance on multi-core processors.

  • CompletableFuture class enables asynchronous programming by representing a future result of an asynchronous computat...

A Springboot Developer was asked
Q. SpringBoot Annotations configuration linkedlist vs arraylist tomcat vs other application servers AJAX JSON Method overriding Polymorphism Struts Architecture Pom.xml Interceptors in Struts Framework Action ...
Ans. 

The question covers various topics related to SpringBoot development.

  • LinkedList vs ArrayList: LinkedList is better for frequent insertions/deletions, ArrayList is better for frequent access.

  • Tomcat vs other application servers: Tomcat is a lightweight server, while others like JBoss are more feature-rich.

  • AJAX JSON: AJAX is used to make asynchronous requests to the server, while JSON is a lightweight data interchang...

Infosys Springboot Developer Interview Experiences

5 interviews found

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

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

Round 1 - Technical 

(8 Questions)

  • Q1. Spring filters explained briefly
  • Ans. 

    Spring filters are components in Spring framework that intercept incoming HTTP requests and outgoing HTTP responses.

    • Filters are used to perform tasks like logging, authentication, authorization, etc.

    • They are configured in the web.xml file or using annotations like @WebFilter.

    • Example: javax.servlet.Filter interface is implemented to create custom filters.

  • Answered by AI
  • Q2. Spring security concepts
  • Q3. Flat map vs map
  • Ans. 

    Flat map is used to flatten nested collections, while map is used to transform elements in a collection.

    • Flat map is used when you have a collection of collections and you want to flatten it into a single collection.

    • Map is used to transform each element in a collection using a given function.

    • Example: Using flatMap to flatten a list of lists - list.stream().flatMap(List::stream).collect(Collectors.toList())

    • Example: Using...

  • Answered by AI
  • Q4. Stream apI in java 8 explanation
  • Ans. 

    Stream API in Java 8 allows for functional-style operations on collections.

    • Stream API provides a way to process collections of objects in a functional way.

    • It supports operations like filter, map, reduce, and collect.

    • Example: List<String> names = Arrays.asList("Alice", "Bob", "Charlie"); Stream<String> stream = names.stream();

    • Example: List<Integer> numbers = Arrays.asList(1, 2, 3, 4, 5); int sum = numb...

  • Answered by AI
  • Q5. Paraller programming concepts in java 8
  • Ans. 

    Java 8 introduced parallel programming concepts like streams, parallel streams, and CompletableFuture.

    • Java 8 introduced streams which allow for functional-style operations on collections.

    • Parallel streams allow for parallel processing of stream elements, improving performance on multi-core processors.

    • CompletableFuture class enables asynchronous programming by representing a future result of an asynchronous computation.

  • Answered by AI
  • Q6. Abstract vs interfcae
  • Ans. 

    Abstract classes can have both abstract and non-abstract methods, while interfaces can only have abstract methods.

    • Abstract classes can have constructors, fields, and methods, while interfaces cannot.

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

    • Abstract classes are used to define a common behavior for subclasses, while interfaces are used to define a contract for classes to implement.

    • ...

  • Answered by AI
  • Q7. SOLID principle explain
  • Ans. 

    SOLID is a set of five design principles to make software designs more understandable, flexible, and maintainable.

    • S - Single Responsibility Principle: A class should have only one reason to change.

    • O - Open/Closed Principle: Software entities should be open for extension but closed for modification.

    • L - Liskov Substitution Principle: Objects of a superclass should be replaceable with objects of its subclasses without aff...

  • Answered by AI
  • Q8. Static keyword explain
  • Ans. 

    Static keyword is used in Java to create class-level variables and methods.

    • Static variables are shared among all instances of a class

    • Static methods can be called without creating an instance of the class

    • Static keyword can also be used to create static blocks for initialization

  • Answered by AI

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

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

Round 1 - Technical 

(5 Questions)

  • Q1. What is method overloading and method overriding
  • Ans. 

    Method overloading is having multiple methods in the same class with the same name but different parameters. Method overriding is having a method in a subclass with the same name and parameters as a method in its superclass.

    • Method overloading allows a class to have multiple methods with the same name but different parameters.

    • Method overriding occurs when a subclass provides a specific implementation of a method that is...

  • Answered by AI
  • Q2. Difference between restcontroller and controller?
  • Ans. 

    RestController is specialized version of controller used for RESTful web services in Spring framework.

    • RestController is used to create RESTful web services that return JSON or XML data, while Controller is used to create web pages that return HTML data.

    • RestController annotation is a combination of @Controller and @ResponseBody annotations.

    • RestController is typically used for building RESTful APIs, while Controller is u...

  • Answered by AI
  • Q3. Difference between @bean and @ component
  • Ans. 

    The @Bean annotation is used to define a method that returns an object to be registered as a bean in the Spring application context. The @Component annotation is used to indicate that a class is a Spring component.

    • The @Bean annotation is used on methods within a @Configuration class to define Spring beans.

    • The @Component annotation is used on classes to indicate that they are Spring components.

    • The @Bean annotation allow...

  • Answered by AI
  • Q4. What is bean factory?
  • Ans. 

    Bean factory is a container for managing beans in Spring framework.

    • Bean factory is responsible for creating, managing, and configuring beans in a Spring application.

    • It uses inversion of control (IoC) to manage the beans.

    • Beans are defined in a configuration file (XML or Java) and the bean factory instantiates them.

    • Example: ApplicationContext is a type of bean factory in Spring framework.

  • Answered by AI
  • Q5. What is singleton?
  • Ans. 

    Singleton is a design pattern that restricts the instantiation of a class to only one object.

    • Ensures a class has only one instance and provides a global point of access to it.

    • Commonly used in scenarios where a single instance of a class is needed, such as database connections or thread pools.

    • Implemented by creating a static method to return the same instance of the class every time it is called.

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Infosys Springboot Developer interview:
  • Java8
  • Springboot annotations
Interview preparation tips for other job seekers - Prepare all basics for java and java 8 mostly asked question and all annotations that we mostly use in spring-boot are always asked in infosys.

Skills evaluated in this interview

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

I applied via Company Website and was interviewed before Aug 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 

(7 Questions)

  • Q1. 1. Spring Boot Annotations
  • Q2. Java 8 features
  • Q3. Questions on mysql
  • Q4. Hibernate caching
  • Q5. Linkedlist and arraylist
  • Q6. Hashtable questions
  • Q7. Map interface questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare as per the your skills, be confident.

Springboot Developer Interview Questions & Answers

user image Anjali Khokher

posted on 14 Oct 2022

I applied via Approached by Company and was interviewed in Apr 2022. There were 3 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 

(1 Question)

  • Q1. SpringBoot Annotations configuration linkedlist vs arraylist tomcat vs other application servers AJAX JSON Method overriding Polymorphism Struts Architecture Pom.xml Interceptors in Struts Framework Action...
  • Ans. 

    The question covers various topics related to SpringBoot development.

    • LinkedList vs ArrayList: LinkedList is better for frequent insertions/deletions, ArrayList is better for frequent access.

    • Tomcat vs other application servers: Tomcat is a lightweight server, while others like JBoss are more feature-rich.

    • AJAX JSON: AJAX is used to make asynchronous requests to the server, while JSON is a lightweight data interchange for...

  • Answered by AI
Round 3 - HR 

(1 Question)

  • Q1. Questions based on agile model sprint testing code review tools why I am leaving my company Projects worked on Roles of yours in Projects.Technologies used.

Interview Preparation Tips

Topics to prepare for Infosys Springboot Developer interview:
  • SpringBoot
  • Application servers
  • OOPS
  • Data Structures
Interview preparation tips for other job seekers - Prepare that framework in which you have thoroughly worked in your organization and basics of the language which you are using.Then the Profile for you are applying prepare for that also with all the questions from architecture to web applications.Check out about the organization which technologies it is using .Discuss your Carrer aspirations/expectations with HR .Be prepared with all the Projects you have done .

Skills evaluated in this interview

Round 1 - Technical 

(2 Questions)

  • Q1. 1. Coding questions on sorting
  • Q2. Writing basic SQL queries

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare on coding part, java and spring concepts, Sql queries

What people are saying about Infosys

View All
schedule2
Verified Icon
3d
works at
Cognizant
Salary expectation
I have 5+ years of experience in springboot microservices, currently working in CTS and having 10L CTC , wanted to switch in Infosys or Accenture like companies, how much should I ask for 15L-18L ? Just worried if I ask more they can reject my application, please help me with some numbers
Got a question about Infosys?
Ask anonymously on communities.

Interview questions from similar companies

I applied via Company Website and was interviewed before Jun 2021. There were 2 interview rounds.

Round 1 - Aptitude Test 

First round was coding as well as aptitude done together went well I guess focusing on codes helps a lot.

Round 2 - Technical 

(1 Question)

  • Q1. 2nd round included tr and mr round went quite enegritic

Interview Preparation Tips

Interview preparation tips for other job seekers - Resume skills matters a lot don't fill resume the technologies you don't even aware of

I applied via Campus Placement and was interviewed in Apr 2020. There was 1 interview round.

Interview Questionnaire 

2 Questions

  • Q1. Are you willing to relocate?
  • Ans. 

    Yes, I am open to relocating for the right opportunity that aligns with my career goals and personal growth.

    • Relocation can provide exposure to new technologies and methodologies.

    • I am excited about the prospect of working in diverse teams and cultures.

    • For example, moving to a tech hub like San Francisco could enhance my career.

    • I understand the challenges of relocating, but I see them as opportunities for growth.

  • Answered by AI
  • Q2. Why should I hire you?
  • Ans. 

    I bring a unique blend of skills, experience, and passion for software development that aligns perfectly with your team's goals.

    • Proven experience in developing scalable applications, such as a recent project where I improved performance by 30%.

    • Strong problem-solving skills demonstrated through my contributions to open-source projects, enhancing functionality and fixing bugs.

    • Excellent teamwork and communication abilitie...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - My technical and Hr interview done at same place. It lasted about 40minutes. The interviewer test both my technical knowledge and communication skills. I tell most of the answer. They check patience level.He stressed on my final year project . Asking about range and specification of compotents which I heve used in my project. Finally ask some HR questions.
Are these interview questions helpful?

I applied via Walk-in and was interviewed before Dec 2020. There were 3 interview rounds.

Interview Questionnaire 

3 Questions

  • Q1. Basic Programming questions.
  • Q2. Fibonacci program
  • Ans. 

    A Fibonacci program generates a sequence where each number is the sum of the two preceding ones, starting from 0 and 1.

    • The Fibonacci sequence starts with 0 and 1.

    • Each subsequent number is the sum of the previous two: 0, 1, 1, 2, 3, 5, 8, 13, ...

    • Common implementations include recursive, iterative, and using dynamic programming.

    • Example of an iterative approach in Python: ```python def fibonacci(n): a, b = 0, 1 ...

  • Answered by AI
  • Q3. OOPS concepts.

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare basic OOPS concepts and basic programs.

I applied via LinkedIn and was interviewed before Jul 2021. There were 2 interview rounds.

Round 1 - Aptitude Test 

Easy logical questions
basic quant

Round 2 - Coding Test 

Easy level coding questions
Counting frequency of alphabets

Interview Preparation Tips

Interview preparation tips for other job seekers - Just go through the basics of javascript
Hoisting

Interview Questionnaire 

1 Question

  • Q1. How to use multiple dispatch in redux?
  • Ans. 

    Multiple dispatch is not a feature of Redux. It can be achieved using middleware or custom logic.

    • Middleware like redux-thunk or redux-saga can be used to dispatch multiple actions based on a single action.

    • Custom logic can be implemented in the reducer to handle multiple actions based on a single action type.

    • For example, a single 'ADD_ITEM' action can trigger multiple actions like 'UPDATE_TOTAL', 'UPDATE_HISTORY', etc.

    • M...

  • Answered by AI

Skills evaluated in this interview

Infosys Interview FAQs

How many rounds are there in Infosys Springboot Developer interview?
Infosys interview process usually has 1-2 rounds. The most common rounds in the Infosys interview process are Technical, Resume Shortlist and HR.
How to prepare for Infosys Springboot 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 Spring Boot, Microservices, MySQL, PLSQL and SDLC.
What are the top questions asked in Infosys Springboot Developer interview?

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

  1. SpringBoot Annotations configuration linkedlist vs arraylist tomcat vs other ap...read more
  2. What is method overloading and method overrid...read more
  3. Difference between restcontroller and controll...read more

Tell us how to improve this page.

Overall Interview Experience Rating

3.7/5

based on 3 interview experiences

Difficulty level

Moderate 100%

Duration

2-4 weeks 100%
View more
Join Infosys Creating the next opportunity for people, businesses & communities

Interview Questions from Similar Companies

TCS Interview Questions
3.6
 • 11.1k Interviews
Accenture Interview Questions
3.8
 • 8.6k Interviews
Wipro Interview Questions
3.7
 • 6k Interviews
Cognizant Interview Questions
3.7
 • 5.9k Interviews
Capgemini Interview Questions
3.7
 • 5k Interviews
Tech Mahindra Interview Questions
3.5
 • 4.1k Interviews
HCLTech Interview Questions
3.5
 • 4.1k Interviews
Genpact Interview Questions
3.8
 • 3.4k Interviews
LTIMindtree Interview Questions
3.7
 • 3k Interviews
IBM Interview Questions
4.0
 • 2.5k Interviews
View all
Infosys Springboot Developer Salary
based on 22 salaries
₹3.1 L/yr - ₹10.6 L/yr
26% more than the average Springboot Developer Salary in India
View more details

Infosys Springboot Developer Reviews and Ratings

based on 2 reviews

3.0/5

Rating in categories

4.0

Skill development

2.2

Work-life balance

1.0

Salary

4.0

Job security

3.4

Company culture

1.2

Promotions

3.8

Work satisfaction

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

₹4.8 L/yr - ₹10 L/yr

Senior Systems Engineer
53.7k salaries
unlock blur

₹2.5 L/yr - ₹6.3 L/yr

Technical Lead
35k salaries
unlock blur

₹7.3 L/yr - ₹20 L/yr

System Engineer
32.5k salaries
unlock blur

₹2.4 L/yr - ₹5.3 L/yr

Senior Associate Consultant
31k salaries
unlock blur

₹8.1 L/yr - ₹14 L/yr

Explore more salaries
Compare Infosys with

TCS

3.6
Compare

Wipro

3.7
Compare

Cognizant

3.7
Compare

Accenture

3.8
Compare
write
Share an Interview