i
Infosys
Filter interviews by
I applied via Naukri.com and was interviewed in May 2024. There was 1 interview round.
To write a custom exception in Java, create a new class that extends Exception or a subclass of Exception.
Create a new class that extends Exception or a subclass of Exception.
Add a constructor to the custom exception class to pass a message to the superclass constructor.
Throw the custom exception using the 'throw' keyword in your code.
Handle the custom exception using try-catch blocks or propagate it up the call stack.
HashMap is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values.
HashMap internally uses an array of linked lists to store key-value pairs.
When a key-value pair is added, the key is hashed to find the index in the array where it will be stored.
If multiple keys hash to the same index, a linked list is used to handle collisions.
To retrieve a value, the key is hashed again to find th...
Array problems spring boot questions angular questions
I have a strong background in Java development with experience in building scalable and efficient applications.
Extensive experience in Java programming language
Proven track record of delivering high-quality, scalable applications
Strong understanding of software development best practices
Ability to work well in a team and collaborate effectively with others
Spring Boot simplifies the development of Java applications by providing a set of tools and conventions for building production-ready applications quickly.
Spring Boot eliminates the need for boilerplate code, allowing developers to focus on writing business logic.
It provides embedded servers for easy deployment and configuration.
Spring Boot offers a wide range of plugins and extensions for integrating with other techno...
Factorial program calculates the product of all positive integers up to a given number.
Create a method that takes an integer as input
Use a loop to multiply all positive integers up to the input number
Return the final product
I applied via Job Portal and was interviewed in Aug 2024. There was 1 interview round.
Coding test time duration was 45 mins. Question was related to string array checking the good arrray on condition of no occurrence of characters.
Infosys interview questions for designations
I applied via LinkedIn and was interviewed in Apr 2024. There were 4 interview rounds.
Functional Interface is an interface with only one abstract method, used for lambda expressions.
Functional Interface can have multiple default or static methods.
Examples include Runnable, Callable, Comparator interfaces.
Used for lambda expressions to provide implementation for the single abstract method.
Oops, azure, spring boot, microservices, rest services.
Get interview-ready with Top Infosys Interview Questions
I applied via Company Website and was interviewed in Jan 2024. There were 3 interview rounds.
I applied via Company Website and was interviewed in Jan 2024. There was 1 interview round.
OOPs concepts refer to Object-Oriented Programming principles like inheritance, encapsulation, polymorphism, and abstraction.
Inheritance: Allows a class to inherit properties and behaviors from another class. Example: class Dog extends Animal.
Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: private variables with public getter and setter methods.
Polymorphism: Ability to pre...
Interface is a blueprint for classes to implement, while abstract class can have both abstract and concrete methods.
Interface can only have abstract methods and constants, while abstract class can have abstract and concrete methods.
A class can implement multiple interfaces but can only extend one abstract class.
Interfaces are used to achieve multiple inheritance in Java.
Abstract classes can have instance variables, con...
Collection is a group of objects, Collections is a utility class, Collection framework is a set of interfaces and classes for handling collections.
Collection is an interface in Java that represents a group of objects known as elements.
Collections is a utility class in Java that contains static methods for operating on collections.
Collection framework is a set of interfaces and classes in Java that provides an architect...
Yes, I have worked on Spring Security. It is a powerful and customizable authentication and access control framework for Java applications.
Implemented authentication and authorization using Spring Security annotations like @Secured, @PreAuthorize, @PostAuthorize
Configured security settings in XML or Java configuration files
Used Spring Security filters for protecting URLs, CSRF protection, session management, etc.
Integr...
Microservices are a software development technique where an application is composed of small, independent services that communicate with each other.
Microservices break down a large application into smaller, loosely coupled services
Each service is responsible for a specific function and can be developed, deployed, and scaled independently
Communication between services is typically done through APIs or messaging queues
Mi...
In case of order failure with payment deducted, refund the payment and investigate the issue.
Initiate refund process for the deducted payment
Investigate the reason for the order failure
Communicate with the customer about the issue and resolution
Ensure the payment gateway is functioning correctly to prevent future occurrences
Constructors are special methods used to initialize objects in Java.
Constructors have the same name as the class and do not have a return type.
Types of constructors include default constructor, parameterized constructor, and copy constructor.
Default constructor is provided by Java if no constructor is defined.
Parameterized constructor takes parameters to initialize an object with specific values.
Copy constructor create...
What people are saying about Infosys
Some of the top questions asked at the Infosys Java Developer interview -
The duration of Infosys Java Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 113 interviews
4 Interview rounds
based on 112 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