Filter interviews by
I applied via Company Website and was interviewed in Mar 2024. There was 1 interview round.
final keyword can be used to make a variable's value constant and unchangeable
Use 'final' keyword before the variable declaration
Once a variable is declared as final, its value cannot be changed
Example: final int num = 10; // value of num cannot be modified
Yes, deadlock is a situation in concurrent programming where two or more threads are waiting for each other to release resources, causing them to be stuck indefinitely.
Deadlock occurs when two or more threads are blocked forever, waiting for each other to release resources.
It can happen when multiple threads have locks on different resources and each thread is trying to acquire a lock held by another thread.
Example: Th...
Use a HashSet to store unique elements from the arraylist
Create a HashSet and add all elements from the arraylist to it
Since HashSet does not allow duplicates, only unique elements will be stored
Convert the HashSet back to an arraylist if needed
Conflicts can arise in git and github when multiple developers make changes to the same file or branch simultaneously.
Conflicts can occur when two developers make changes to the same line of code in a file.
Conflicts can also arise when merging branches that have diverged and contain different changes.
Communication among team members is crucial to avoid conflicts and resolve them efficiently.
Using pull requests and code...
Spring came into picture to simplify Java development by providing features like dependency injection, aspect-oriented programming, and transaction management.
Spring provides dependency injection which helps in managing object dependencies and promotes loose coupling.
It supports aspect-oriented programming for separating cross-cutting concerns like logging, security, and transaction management.
Spring offers robust tran...
Polymorphism is the ability of a single function or method to operate on different types of data.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).
Example: A superclass Animal with methods eat() and sleep(). Subclasses Dog and Cat override these methods with their own imp
Collection framework in Java is a set of classes and interfaces that provide a way to store and manipulate groups of objects.
It provides a way to store, retrieve, and manipulate groups of objects.
It includes interfaces like List, Set, and Map, and classes like ArrayList, HashSet, and HashMap.
Collections framework simplifies the process of working with collections of objects in Java.
Map is a collection of key-value pairs where keys are unique, while Set is a collection of unique elements with no duplicates.
Map allows duplicate values but keys must be unique
Set does not allow duplicate elements
Map is accessed using keys, while Set is accessed using elements
Example: Map - {1: 'apple', 2: 'banana'}, Set - {'apple', 'banana'}
ArrayList is a better choice when space is not an issue due to its constant time access, while LinkedList has better performance for insertions and deletions.
ArrayList is better for random access as it provides constant time access to elements based on index.
LinkedList is better for insertions and deletions as it does not require shifting elements in memory.
Example: If you need to frequently add or remove elements in a...
JavaFX is a software platform for creating and delivering desktop applications, while JSP is a technology used for creating dynamic web pages.
JavaFX is used for creating rich internet applications with a modern look and feel.
JSP is used for developing dynamic web pages with Java code embedded in HTML.
JavaFX and JSP can be used together to create interactive web applications.
I applied via Company Website and was interviewed in Oct 2022. There were 2 interview rounds.
I prioritize my work and set boundaries to ensure a healthy work-life balance.
I prioritize my tasks and set realistic goals to manage my workload effectively.
I establish clear boundaries between work and personal life to avoid burnout.
I practice time management techniques, such as creating schedules and prioritizing tasks.
I make sure to take breaks and engage in activities outside of work to recharge.
I communicate open...
A positive quote for work can inspire and motivate individuals to achieve their goals and excel in their professional endeavors.
A positive attitude leads to positive outcomes.
Hard work and dedication are the keys to success.
Believe in yourself and your abilities.
Success is not final, failure is not fatal: It is the courage to continue that counts.
The only way to do great work is to love what you do.
Don't watch the cloc...
posted on 16 Oct 2024
I applied via LinkedIn and was interviewed in Apr 2024. There was 1 interview round.
1)Buy and sell stock
2)2 sum
3) system design
4) Elastic search
5) deployment
posted on 29 Jul 2024
Immutable class is a class whose state cannot be modified after creation.
Make all fields private and final
Do not provide setter methods
Ensure that any mutable objects within the class are also immutable
Lock and sync are both mechanisms used in Java for thread synchronization, but they have different implementations and use cases.
Lock is a low-level synchronization mechanism provided by the java.util.concurrent.locks package, while sync (synchronized keyword) is a high-level synchronization mechanism provided by Java.
Lock provides more flexibility and control over synchronization compared to sync.
Lock can be used to c...
posted on 10 Jul 2024
LRU cache design involves maintaining a cache with limited capacity and removing the least recently used item when the cache is full.
Use a doubly linked list to maintain the order of items based on their usage.
Implement a hash map for fast access to items in the cache.
When a new item is accessed, move it to the front of the linked list to mark it as the most recently used.
When the cache is full, remove the item at the ...
Simple algorithm question about sorting
The time complexity of the quicksort algorithm is O(n log n).
Quicksort has an average time complexity of O(n log n).
The best case time complexity of quicksort is O(n log n) when the pivot element divides the array into two equal halves.
The worst case time complexity of quicksort is O(n^2) when the pivot element is the smallest or largest element in the array.
Joins, Jobs, stored procedures,cursors.
I applied via Company Website and was interviewed in Oct 2022. There were 2 interview rounds.
I prioritize my work and set boundaries to ensure a healthy work-life balance.
I prioritize my tasks and set realistic goals to manage my workload effectively.
I establish clear boundaries between work and personal life to avoid burnout.
I practice time management techniques, such as creating schedules and prioritizing tasks.
I make sure to take breaks and engage in activities outside of work to recharge.
I communicate open...
A positive quote for work can inspire and motivate individuals to achieve their goals and excel in their professional endeavors.
A positive attitude leads to positive outcomes.
Hard work and dedication are the keys to success.
Believe in yourself and your abilities.
Success is not final, failure is not fatal: It is the courage to continue that counts.
The only way to do great work is to love what you do.
Don't watch the cloc...
I applied via Recruitment Consulltant and was interviewed in Nov 2021. There were 3 interview rounds.
Basic data structure related coding questions like creating a linked list and adding items to it median.
Max heap implementation.
Concurrency related questions.
Some of the top questions asked at the RBL Bank Java Developer interview -
based on 1 interview
Interview experience
Deputy Manager
1.5k
salaries
| ₹2.6 L/yr - ₹8 L/yr |
Assistant Manager
1.4k
salaries
| ₹1.8 L/yr - ₹7 L/yr |
Relationship Manager
1.1k
salaries
| ₹1.7 L/yr - ₹7.8 L/yr |
Senior Manager
808
salaries
| ₹6 L/yr - ₹20 L/yr |
Manager
757
salaries
| ₹4.2 L/yr - ₹12.9 L/yr |
HDFC Bank
ICICI Bank
Axis Bank
Kotak Mahindra Bank