i
Infosys
Filter interviews by
Clear (1)
I was interviewed in Feb 2025.
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...
Infosys interview questions for designations
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.
Get interview-ready with Top Infosys Interview Questions
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 ...
Polymorphism is the ability of a single function or method to operate on different types of data.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).
Example: Inheritance in object-oriented programming languages like Java allows for polymorphism.
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 60 interviews
3 Interview rounds
based on 400 reviews
Rating in categories
Technology Analyst
55.7k
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.8k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Associate Consultant
28k
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Wipro
Cognizant
Accenture