Filter interviews by
I applied via Referral and was interviewed in Jun 2024. There was 1 interview round.
Intermediate operators transform or filter the stream elements, while terminal operators produce a result or side effect.
Intermediate operators include filter(), map(), sorted(), distinct(), etc.
Terminal operators include forEach(), collect(), reduce(), count(), etc.
Intermediate operators are lazy and do not execute until a terminal operator is called.
Terminal operators trigger the stream processing and produce a resul
Static and default methods in functional interfaces provide utility methods and default implementations for interface methods in real-time applications.
Static methods in functional interfaces can be used for utility methods that are not tied to a specific instance of the interface.
Default methods in functional interfaces provide default implementations for interface methods, allowing for backward compatibility when new...
Use a bean before it is destroyed by implementing a pre-destroy method
Implement a method annotated with @PreDestroy in the bean class
This method will be called before the bean is destroyed
Perform any necessary cleanup or final operations in this method
Use the POJO's attributes that define equals() and hashCode() methods as the key in the Hashmap.
Ensure the POJO class overrides equals() and hashCode() methods.
Create an instance of the POJO and use it as the key in the Hashmap.
To call an SQL procedure from code, use the appropriate syntax and connection to the database.
Use the appropriate SQL command to call the procedure (e.g. EXEC or CALL).
Ensure you have a connection to the database established in your code.
Pass any required parameters to the procedure when calling it.
Handle any return values or output parameters as needed.
Use @IdClass annotation to apply multiple primary keys to an entity in Hibernate
Create a separate class for composite primary key
Use @IdClass annotation on the entity class to reference the composite primary key class
Define the primary key fields in both the entity class and the composite primary key class
Top trending discussions
I applied via Referral and was interviewed in Oct 2024. There was 1 interview round.
Java 8 introduced several new features including lambda expressions, streams, and functional interfaces.
Lambda expressions: Allow for more concise and readable code by enabling functional programming.
Streams: Provide a way to work with collections of objects in a more functional style.
Functional interfaces: Interfaces with a single abstract method, used to enable lambda expressions.
Optional class: Helps to avoid null p...
Spring boot annotations are used to simplify the development process by providing metadata to the Spring framework.
1. @SpringBootApplication - Main annotation to indicate the main class of a Spring Boot application.
2. @RestController - Annotation for RESTful web services.
3. @Autowired - Dependency injection annotation.
4. @GetMapping, @PostMapping, @PutMapping, @DeleteMapping - Annotations for mapping HTTP requests to c...
String Builder is not synchronized and faster, while String Buffer is synchronized and slower.
String Builder is not thread-safe, while String Buffer is thread-safe.
String Builder is faster due to lack of synchronization, while String Buffer is slower due to synchronization.
String Builder is recommended for single-threaded operations, while String Buffer is recommended for multi-threaded operations.
String pool is a storage area in memory where strings are stored to optimize memory usage by reusing common strings.
String pool helps in reducing memory usage by storing only one copy of each unique string.
Strings created using double quotes are stored in the string pool.
Strings created using new keyword are not stored in the string pool.
There are two main types of memory in a computer system: stack memory and heap memory.
Stack memory is used for static memory allocation and is managed by the compiler. It is typically faster but limited in size.
Heap memory is used for dynamic memory allocation and is managed by the programmer. It is slower but has a larger size.
Examples: C programming language uses stack memory for function calls and heap memory for dy
posted on 22 Nov 2024
I applied via campus placement at Noida Institute of Engineering & Technology, Greater Noida and was interviewed in Oct 2024. There were 3 interview rounds.
The topic given to us was "Can AI replace human Intelligence?"
posted on 21 Oct 2024
I applied via Recruitment Consulltant and was interviewed in Sep 2024. There were 4 interview rounds.
Basic hacker rank problem
posted on 31 Oct 2024
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
I applied via Recruitment Consulltant and was interviewed in Apr 2024. There were 5 interview rounds.
F2f virtual coding round
posted on 13 Sep 2024
I was interviewed in Jul 2024.
It was a basic filtering round based on aptitude.
I had two medium-level LeetCode questions.
Analyst
45
salaries
| ₹5.5 L/yr - ₹16 L/yr |
Assistant Vice President
26
salaries
| ₹15 L/yr - ₹37 L/yr |
Senior Analyst
20
salaries
| ₹9 L/yr - ₹25.5 L/yr |
Manager
12
salaries
| ₹21 L/yr - ₹37 L/yr |
Vice President
11
salaries
| ₹35.5 L/yr - ₹65 L/yr |
State Bank of India
HDFC Bank
ICICI Bank
Axis Bank