i
Infosys
Filter interviews by
I applied via Company Website and was interviewed in Oct 2022. There were 2 interview rounds.
Java is an object-oriented programming language. Inheritance is a mechanism to create new classes based on existing ones. OOPs is a programming paradigm. Method is a block of code that performs a specific task.
Java is a high-level, class-based, and object-oriented programming language.
Inheritance is a mechanism in which one class acquires the properties and behaviors of another class.
OOPs is a programming paradigm that...
Java is an object-oriented programming language. OOPs concepts include inheritance, encapsulation, polymorphism, and abstraction.
Java is a high-level programming language that is platform-independent.
OOPs concepts are the foundation of Java programming.
Inheritance is a mechanism in which one class acquires the properties and behaviors of another class.
A method is a collection of statements that perform a specific task.
...
Java is a programming language. Method is a block of code that performs a specific task. OOPs is a programming paradigm.
Java is an object-oriented programming language used to develop applications and software.
A method is a block of code that performs a specific task and can be called by other parts of the program.
OOPs is a programming paradigm that focuses on objects and their interactions to solve problems.
OOPs conce...
Java is an object-oriented programming language. Method is a block of code that performs a specific task. OOPs concepts are principles of object-oriented programming.
Java is a high-level programming language that is platform-independent.
Method is a block of code that performs a specific task and can be called multiple times.
OOPs concepts include inheritance, encapsulation, polymorphism, and abstraction.
Inheritance allo...
I applied via Company Website and was interviewed in Nov 2024. There were 2 interview rounds.
Current company may have different priorities, budget constraints, existing systems, or may not see the immediate need for the technology.
Different priorities: Company may be focusing on other projects or technologies that are deemed more important at the moment.
Budget constraints: Implementing new technology can be costly and the company may not have the budget for it.
Existing systems: Company may already have systems...
The company has chosen not to utilize XYZ technology due to budget constraints and compatibility issues.
Budget constraints may have limited the company's ability to invest in new technologies.
Compatibility issues with existing systems may have prevented the adoption of XYZ technology.
The company may have determined that the benefits of XYZ technology do not outweigh the costs of implementation.
There may be alternative ...
Infosys interview questions for designations
I was interviewed in Sep 2024.
Demonstrate the flow of Spring MVC through code
Create a controller class with request mapping annotations
Define methods in the controller to handle different requests
Configure the dispatcher servlet in web.xml
Create a view resolver to map logical view names to actual views
Use stream api to find duplicates in an array of strings
Convert array to stream using Arrays.stream()
Use Collectors.groupingBy() to group elements by their occurrences
Filter the map to find elements with count > 1
Move all zeroes in an array to the end without changing the order of other elements.
Iterate through the array and keep track of the index where non-zero elements should be placed.
After the iteration, fill the remaining positions with zeroes.
Check if 2 strings are anagrams by comparing sorted characters
Sort the characters of both strings and compare if they are equal
Use a hashmap to store character frequencies and compare the maps
To check logs in an app, access log files or use logging frameworks like Log4j.
Access log files directly in the application directory
Use logging frameworks like Log4j to log messages at different levels
Analyze log files for errors or debugging information
Prioritize tasks, break down work into smaller chunks, communicate with team, utilize time management techniques
Prioritize tasks based on importance and urgency
Break down work into smaller, manageable chunks to make progress
Communicate with team members to ensure everyone is on the same page
Utilize time management techniques such as Pomodoro technique or Agile methodologies
Get interview-ready with Top Infosys Interview Questions
I applied via Company Website and was interviewed in Nov 2024. There were 2 interview rounds.
I applied via Company Website and was interviewed in Aug 2024. There were 2 interview rounds.
List is an ordered collection that allows duplicate elements, while Set is an unordered collection that does not allow duplicates.
List maintains the insertion order of elements, while Set does not guarantee any specific order.
List allows duplicate elements, while Set does not allow duplicates.
Examples of List implementations in Java are ArrayList and LinkedList, while examples of Set implementations are HashSet and Tre
Annotations used in Spring to disambiguate beans when multiple beans of the same type are present
Used in Spring framework to specify which bean to inject when multiple beans of the same type are present
Can be used with @Autowired or @Resource annotations
Example: @Qualifier("beanName")
Yes, try and finally can be used without catch to handle exceptions.
try block is used to enclose the code that may throw an exception
finally block is used to execute code regardless of whether an exception is thrown or not
If catch block is not present, exceptions will not be caught and handled
Annotations in @SpringBootApplication are used to configure the Spring Boot application.
Annotations like @SpringBootApplication are used to enable auto-configuration and component scanning in a Spring Boot application.
Other commonly used annotations include @RestController, @Service, @Repository, and @Component for defining different types of Spring beans.
Annotations like @Autowired are used for dependency injection in...
The @GetMapping annotation is used to map HTTP GET requests to specific handler methods, while @PostMapping is used for POST requests.
GetMapping is used for retrieving data from the server, while PostMapping is used for sending data to the server.
GetMapping is idempotent, meaning it should not have any side effects, while PostMapping can have side effects.
GetMapping should not be used for operations that modify data, w...
Java 8 introduced several new features including lambda expressions, streams, functional interfaces, and default methods.
Lambda expressions allow for more concise code and easier parallel programming.
Streams provide a way to work with sequences of elements and perform operations such as filtering, mapping, and reducing.
Functional interfaces enable the use of lambda expressions and method references.
Default methods allo...
Using stream api to find numbers less than 10 in an array list
Use stream() method on the array list to create a stream of elements
Use filter() method with a lambda expression to filter out numbers less than 10
Collect the filtered elements using collect() method to get the result
I applied via Naukri.com and was interviewed in Aug 2024. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
What people are saying about Infosys
3 Interview rounds
based on 106 reviews
Rating in categories
Technology Analyst
56.3k
salaries
| ₹3 L/yr - ₹11 L/yr |
Senior Systems Engineer
50k
salaries
| ₹2.8 L/yr - ₹8 L/yr |
System Engineer
39.2k
salaries
| ₹2.5 L/yr - ₹5.5 L/yr |
Technical Lead
30.7k
salaries
| ₹5.2 L/yr - ₹19.5 L/yr |
Senior Associate Consultant
27.4k
salaries
| ₹6.2 L/yr - ₹16.8 L/yr |
TCS
Wipro
Cognizant
Accenture