Filter interviews by
I applied via Recruitment Consulltant and was interviewed in Apr 2022. There were 4 interview rounds.
1 hour Interview, topics: core java, algorithms, spring core, spring boot, design patterns, hibernate
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 applied via Walk-in and was interviewed in Dec 2024. There were 10 interview rounds.
Any ideas for an aptitude test?
What is education in place?
What is a SQL Server?
Effective communication and any suggestion.
Engage with any assignment provided.
Please provide any assignments you have.
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
I applied via Referral and was interviewed in Nov 2024. There were 2 interview rounds.
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 Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
Circuit breaker is a design pattern used in software development to prevent system failures by temporarily stopping requests to a failing service.
Circuit breaker monitors the number of failures and opens when a threshold is reached.
When the circuit is open, requests are not sent to the failing service, preventing further failures.
After a specified time, the circuit breaker closes and allows requests to be sent again.
Ex...
Frequency of occurrence of words in a given text can be calculated by counting each word and storing it in a data structure.
Split the text into words using whitespace as delimiter
Create a map to store word frequencies
Iterate through the words and update the frequency count in the map
Return the map with word frequencies
Spring Boot can work with two databases by configuring multiple data sources and using @Primary annotation.
Configure multiple data sources in application.properties or application.yml
Use @Primary annotation to specify the primary data source
Use @Qualifier annotation to specify the secondary data source
Example: @Configuration @EnableTransactionManagement public class DatabaseConfig { @Primary @Bean(name = "primaryDataSo...
TCS
Accenture
Wipro
Cognizant