i
Infosys
Work with us
Filter interviews by
ArrayList and LinkedList are both data structures used to store and manipulate collections of objects in Java.
ArrayList is implemented as a resizable array, while LinkedList is implemented as a doubly linked list.
ArrayList provides constant time access to elements using their index, while LinkedList provides constant time insertion and deletion of elements.
Spring Boot annotations include @Controller, @Service, @Re...
Truncate removes all data from a table while delete removes specific rows.
Truncate is faster than delete as it doesn't log individual row deletions
Truncate resets auto-increment values while delete doesn't
To truncate a table in MySQL, use the TRUNCATE TABLE statement
Methodology used in my project was Agile
Extension methods allow adding functionality to existing types without modifying them.
Extension methods are defined in a static class.
They must be marked with the 'this' keyword before the first parameter.
They can be called on instances of the extended type as if they were instance methods.
Extension methods can be used to add functionality to third-party or built-in types.
Example: 'myString.Reverse()' where 'Rever...
Procure to pay process is a series of steps involved in purchasing goods or services from a supplier and making payment for them.
The process starts with identifying the need for a product or service.
A purchase requisition is created and sent for approval.
Once approved, a purchase order is generated and sent to the supplier.
The supplier delivers the goods or services and an invoice is received.
The invoice is matche...
I appeared for an interview in Feb 2025.
An anagram is a word formed by rearranging the letters of another, while non-repeating characters are unique in a string.
Anagram Check: To determine if two strings are anagrams, sort both strings and compare them. Example: 'listen' and 'silent'.
Character Count: Use a hash map to count occurrences of each character in a string to find the first non-repeating character. Example: 'swiss' returns 'w'.
Case Sensitivity: Cons...
Out is used for returning multiple values from a method, while ref is used for passing a variable by reference.
Out parameters must be assigned a value inside the method before it returns.
Ref parameters must be initialized before passing them to a method.
Out parameters are used when a method needs to return multiple values.
Ref parameters are used when a method needs to modify the value of the parameter.
Example: int.TryP...
Use a SQL query with ORDER BY and LIMIT to find the 2nd last student marks.
Use ORDER BY clause to sort the marks in descending order
Use LIMIT 1,1 to skip the last row and fetch the 2nd last row
Create a global exception handler to manage all unhandled exceptions in the application.
Implement a global exception handler class that extends ExceptionHandler.
Override the uncaughtException method to handle all unhandled exceptions.
Log the exception details and notify the user about the error.
Consider implementing different strategies for handling different types of exceptions.
Test the global exception handler thorou...
I applied via Company Website and was interviewed in Oct 2024. There were 2 interview rounds.
Projects are specific tasks or assignments that require a team to work together to achieve a common goal.
Projects involve a defined scope, timeline, and budget.
They require a team of individuals with different skills and expertise.
Examples include developing a new software application, implementing a new system, or conducting a research study.
I have worked on a variety of tech stacks including Java Spring, React, Node.js, and MongoDB.
Java Spring
React
Node.js
MongoDB
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have constructors, fields, and methods, while interface cannot have any implementation.
A class can implement multiple interfaces but can only inherit from one abstract class.
Abstract classes are used to define a common behavior for subclasses, while interfaces are used to define a contract f...
I applied via Approached by Company and was interviewed in Dec 2024. There was 1 interview round.
Select single retrieves exactly one row, while select single up to 1 row retrieves at most one row.
Select single is used when exactly one row is expected to be retrieved.
Select single up to 1 row is used when at most one row is expected to be retrieved.
Select single throws an error if more than one row is found, while select single up to 1 row does not.
The ideal team size varies, but typically ranges from 5 to 9 members for optimal collaboration and productivity.
Smaller teams (5-7 members) often communicate more effectively, like a startup environment.
Larger teams (8-12 members) can bring diverse skills but may face coordination challenges.
Agile methodologies suggest 7 +/- 2 as the ideal team size for Scrum teams.
Example: Google often uses small teams to foster innov...
final, finally, and finalize are related to Java programming language.
final is a keyword used to restrict the user from changing the value of a variable.
finally is a block of code that is always executed, whether an exception is thrown or not.
finalize is a method used for cleanup operations before an object is garbage collected.
A record type is a data type that represents a structured collection of fields or attributes.
Record types are used to define structured data in programming languages.
Each field in a record type has a name and a data type.
Record types are commonly used in database systems to represent rows in tables.
Examples of record types include structs in C, classes in Java, and tuples in Python.
Data fragmentation refers to the scattering of data across different locations or storage devices, making it difficult to access or manage.
Data fragmentation can occur when data is stored in multiple databases or servers.
It can also happen when data is divided into smaller pieces and stored in different locations.
Fragmented data can lead to slower access times and increased complexity in managing data.
Examples include ...
What people are saying about Infosys
Some of the top questions asked at the Infosys Senior Software Engineer interview -
The duration of Infosys Senior Software Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 65 interview experiences
Difficulty level
Duration
based on 417 reviews
Rating in categories
Technology Analyst
55.8k
salaries
| ₹4.8 L/yr - ₹11.2 L/yr |
Senior Systems Engineer
53.7k
salaries
| ₹2.5 L/yr - ₹6.3 L/yr |
Technical Lead
35k
salaries
| ₹9.4 L/yr - ₹16.4 L/yr |
System Engineer
32.5k
salaries
| ₹2.4 L/yr - ₹5.3 L/yr |
Senior Associate Consultant
31.1k
salaries
| ₹8.1 L/yr - ₹15 L/yr |
TCS
Wipro
Cognizant
Accenture