Filter interviews by
I applied via Naukri.com and was interviewed in May 2022. There was 1 interview round.
Hashmap is a data structure that stores key-value pairs. Concurrent Hashmap is a thread-safe version of Hashmap.
Hashmap is implemented using an array of linked lists.
It allows null values and only one null key.
Concurrent Hashmap allows multiple threads to access and modify the map concurrently.
It achieves thread-safety by dividing the map into segments and locking only the affected segments during modification.
Annotations in Spring Boot repository and service
Annotations are used to provide metadata to the code
@Repository annotation is used to indicate a DAO component
@Service annotation is used to indicate a service component
Both annotations are used in Spring Boot to enable dependency injection
Top trending discussions
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 Nov 2024. There was 1 interview round.
Java 8 Default Method allows interfaces to have method implementations.
Introduced in Java 8 to provide backward compatibility for interfaces
Can have method implementations in interfaces using the 'default' keyword
Used to add new methods to interfaces without breaking existing implementations
Sort array of strings with a given value
Use Arrays.sort() method with a custom Comparator to sort the array based on the given value
Handle cases where the given value is not present in the array
Example: Sort array ['apple', 'banana', 'orange', 'grape'] with 'banana' as the given value
posted on 28 Oct 2024
I was interviewed in Sep 2024.
There were MCQ questions consists of different sections like Design Pattern,Java 8
posted on 27 Sep 2024
I applied via Approached by Company and was interviewed in May 2024. There was 1 interview round.
A Spring Boot REST controller is used to handle incoming HTTP requests and return appropriate responses.
Create a new Java class annotated with @RestController
Define request mapping annotations like @GetMapping, @PostMapping, @PutMapping, @DeleteMapping
Inject dependencies using @Autowired annotation
Return response using ResponseEntity or directly as method return value
Code to reverse a comma separated string in Java
Split the input string by comma to get an array of strings
Iterate through the array in reverse order and append each element to a new string with a comma
Return the reversed comma separated string
posted on 22 Mar 2024
I applied via Company Website and was interviewed in Feb 2024. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Nov 2023. There were 2 interview rounds.
JDBC is a low-level API for connecting to databases in Java, while Hibernate is a high-level ORM framework that simplifies database interactions.
JDBC requires writing SQL queries manually, while Hibernate provides an object-oriented approach to database operations.
Hibernate handles mapping Java objects to database tables, while JDBC requires manual mapping.
Hibernate provides caching mechanisms for improved performance,...
I applied via LinkedIn and was interviewed in May 2024. There was 1 interview round.
Java8 stream api related problems to code in notepad
I was interviewed in Feb 2024.
String is immutable in Java to ensure security, thread safety, and optimization.
Immutable strings prevent accidental changes to sensitive data like passwords.
Immutable strings allow for safe sharing of data across multiple threads.
Immutable strings enable string pooling for memory optimization.
Financial Analyst
324
salaries
| ₹1.5 L/yr - ₹4.1 L/yr |
Executive Quality Control
26
salaries
| ₹2 L/yr - ₹4 L/yr |
Team Lead
19
salaries
| ₹3.6 L/yr - ₹7.4 L/yr |
Software Developer
14
salaries
| ₹3 L/yr - ₹10 L/yr |
Team Lead Operations
12
salaries
| ₹3.9 L/yr - ₹5.2 L/yr |
EXL Service
WNS
Genpact
TCS