i
Infosys
Filter interviews by
What people are saying about Infosys
I applied via Naukri.com
A user microservice to retrieve data from h2DB
Create a REST API endpoint to handle user requests
Use JDBC to connect to the h2DB and retrieve data
Implement caching to improve performance
Ensure proper error handling and logging
Secure the API with authentication and authorization
To create thread singleton, use double-checked locking or enum.
Use double-checked locking to ensure only one instance is created
Alternatively, use enum to create a singleton with thread safety
Ensure proper synchronization to avoid race conditions
Spring Boot Starter POM is a parent POM that provides a set of dependencies for Spring Boot applications.
It includes commonly used dependencies such as Spring Framework, Spring Boot, and Spring Data.
It simplifies the process of configuring and deploying Spring Boot applications.
Developers can add additional dependencies to the POM file as needed.
Examples of Spring Boot Starter POMs include spring-boot-starter-web, spri...
I applied via Referral and was interviewed in Mar 2021. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Nov 2020. There were 6 interview rounds.
I was interviewed in Dec 2024.
I applied via Approached by Company and was interviewed in Dec 2024. There was 1 interview round.
I applied via Walk-in and was interviewed in Nov 2024. There was 1 interview round.
Use Streams to remove duplicates and retain only even numbers from an array.
Convert the array to a stream using Arrays.stream()
Use distinct() to remove duplicates
Filter out odd numbers using filter()
Collect the result using collect(Collectors.toList())
Static methods can be accessed without creating an instance of the class, while final keyword makes the method unchangeable.
Static methods belong to the class itself, not to any specific instance
Final keyword ensures that the method cannot be overridden in subclasses
Static methods are commonly used for utility methods that do not require access to instance variables
Example: Math class in Java has static methods like Ma
The @RestController annotation is used to define RESTful web services while @Controller annotation is used to define MVC controller.
RestController is a specialized version of Controller used for RESTful web services
RestController eliminates the need for @ResponseBody annotation
Controller is used for traditional MVC controller functionality
RestController returns data directly without needing to go through a view resolve...
Microservices are a software development technique where applications are composed of small, independent services that communicate with each other.
Microservices allow for easier scalability and maintenance of complex applications.
Each service in a microservices architecture can be developed, deployed, and scaled independently.
Microservices promote flexibility and agility in software development.
Examples of companies us...
I applied via Approached by Company and was interviewed in Dec 2024. There was 1 interview round.
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
I applied via Job Fair and was interviewed in Oct 2024. There were 4 interview rounds.
Onlin test consist pf easy numerical questions
Easy questions not so difficult
Yes, I am willing to work in any location for the right opportunity.
I am open to relocating for the right job opportunity
I am flexible and adaptable to new environments
I believe working in different locations can provide valuable experiences and growth opportunities
based on 4 reviews
Rating in categories
Technology Analyst
56.1k
salaries
| ₹3 L/yr - ₹11 L/yr |
Senior Systems Engineer
49.8k
salaries
| ₹2.8 L/yr - ₹8 L/yr |
System Engineer
39k
salaries
| ₹2.5 L/yr - ₹6.5 L/yr |
Technical Lead
30.6k
salaries
| ₹5.2 L/yr - ₹19.5 L/yr |
Senior Associate Consultant
27.3k
salaries
| ₹6.2 L/yr - ₹16.8 L/yr |
TCS
Wipro
Cognizant
Accenture