i
Infosys
Filter interviews by
Clear (1)
I was interviewed in Jul 2024.
The question covers topics like method overriding, method overloading, exceptions, Java 8 features, and string manipulation.
Method overriding is when a subclass provides a specific implementation of a method that is already provided by its superclass.
Method overloading is when multiple methods have the same name but different parameters.
Exception handling is used to handle errors that occur during the execution of a pr...
I applied via Job Portal and was interviewed in May 2024. There were 2 interview rounds.
A singleton class is a class that allows only one instance of itself to be created and provides a global point of access to that instance.
Singleton classes are often used in Spring Boot for managing resources such as database connections or thread pools.
In Spring Boot, singleton beans are created by default, meaning that only one instance of a bean is created and shared across the application.
To create a singleton bean...
I applied via LinkedIn and was interviewed in May 2024. There were 2 interview rounds.
Answers to common Java Spring Boot Developer interview questions.
Java8 features include lambda expressions, functional interfaces, streams, and default methods.
String is immutable in Java to ensure thread safety and prevent unintended modifications.
Checked exceptions are checked at compile time, while unchecked exceptions are not. Example: IOException vs NullPointerException.
throw is used to explicitly throw an excepti...
I applied via Referral and was interviewed in Feb 2024. There was 1 interview round.
Spring is a framework for building Java applications, while Spring Boot is a tool for easily creating stand-alone, production-grade Spring-based applications.
Spring is a framework that provides comprehensive infrastructure support for developing Java applications.
Spring Boot is a tool that simplifies the process of creating and deploying Spring-based applications.
Spring Boot includes embedded servers, which makes it ea...
Stateless API does not store client state on the server, while stateful API does.
Stateless API: Each request from client to server must contain all necessary information for the server to fulfill the request. No client state is stored on the server. Example: RESTful APIs.
Stateful API: The server stores client state, which can be accessed by subsequent requests. Example: HTTP sessions.
Infosys interview questions for designations
Explanation of Java features, Stream API, microservices, HTTP vs HTTPS, and SQL joins.
Lambda expressions allow for concise syntax to implement functional interfaces.
Stream API provides a way to process collections of objects in a functional style.
Microservices architecture breaks down applications into smaller, independent services.
HTTP is unencrypted protocol, HTTPS is encrypted using SSL/TLS for secure communication.
...
Get interview-ready with Top Infosys Interview Questions
I applied via Company Website and was interviewed in Jan 2024. There was 1 interview round.
I applied via Company Website and was interviewed in Apr 2023. There were 3 interview rounds.
Details on past project experience
Rest controllers are specifically used for RESTful web services, while normal controllers are used for traditional web applications.
Rest controllers are used to build RESTful web services that can accept and return JSON or XML data.
Normal controllers are used for traditional web applications that render HTML views.
Rest controllers use annotations like @RestController and @RequestMapping to define endpoints.
Normal contr...
Memory leak is a situation where a program uses memory inefficiently, causing memory to be allocated but not released.
Memory leak occurs when a program allocates memory but does not release it after it is no longer needed.
Identifying memory leaks can be done using tools like profilers to analyze memory usage over time.
Common signs of memory leaks include increasing memory usage over time, frequent garbage collection, a...
I applied via Approached by Company and was interviewed in Dec 2021. There was 1 interview round.
What people are saying about Infosys
I was interviewed in Apr 2017.
I am a software developer with a passion for coding and problem-solving. My family is supportive and has always encouraged my career in tech.
Experienced software developer
Passionate about coding and problem-solving
Supportive family that encourages my career in tech
I was interviewed before Mar 2021.
Round duration - 60 minutes
Round difficulty - Easy
This was an easy round which went really smooth.
Calculate the Nth term in the Fibonacci sequence, where the sequence is defined as follows: F(n) = F(n-1) + F(n-2)
, with initial conditions F(1) = F(2) = 1
.
Calculate the Nth Fibonacci number efficiently using dynamic programming.
Use dynamic programming to store previously calculated Fibonacci numbers to avoid redundant calculations.
Start with base cases F(1) and F(2) as 1, then iteratively calculate F(n) using F(n-1) and F(n-2).
Ensure the input N is within the constraints 1 <= N <= 10000.
Example: For N = 5, the 5th Fibonacci number is 5 (1, 1, 2, 3, 5).
Given a positive integer N
, your task is to determine and return all prime numbers less than or equal to N
.
N = 10
2 3 5 7
N = 20
Implement a function to return all prime numbers less than or equal to a given positive integer N.
Create a function that takes a positive integer N as input
Iterate from 2 to N and check if each number is prime
Use a helper function to determine if a number is prime
Return an array of all prime numbers less than or equal to N
A merge join in SQL is a method of combining two sorted datasets by matching corresponding rows based on a specified condition.
Merge join is used when joining two large datasets that are already sorted.
It is more efficient than other join methods like nested loop join or hash join for sorted datasets.
The join condition must be an equality condition.
Example: SELECT * FROM table1 INNER JOIN table2 ON table1.id = table2.i
Round duration - 30 minutes
Round difficulty - Easy
The round went excellent. I really enjoyed it. Just be confident about whatever you answer
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
Some of the top questions asked at the Infosys Java Spring Boot Developer interview -
based on 8 interviews
1 Interview rounds
based on 2 reviews
Rating in categories
Technology Analyst
55.4k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Systems Engineer
50.6k
salaries
| ₹0 L/yr - ₹0 L/yr |
System Engineer
39.5k
salaries
| ₹0 L/yr - ₹0 L/yr |
Technical Lead
30.7k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Associate Consultant
27.9k
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Wipro
Cognizant
Accenture