Filter interviews by
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...
Top trending discussions
posted on 29 Jul 2024
I applied via Naukri.com and was interviewed in Mar 2024. There was 1 interview round.
A hashcode method generates a unique integer value for an object based on its properties.
Override the hashCode() method in Java to generate a unique integer value for an object.
Use the properties of the object to calculate the hash code.
Ensure that equal objects have the same hash code.
I applied via LinkedIn and was interviewed in Jan 2024. There were 2 interview rounds.
Print Dice combination based on the rolled output
Node.js uses event-driven architecture where events trigger callbacks to handle asynchronous operations.
Node.js uses event loop to handle asynchronous operations efficiently
Events are emitted by various objects in Node.js like HTTP servers, file system, etc.
Callbacks are registered to handle events and execute code when events occur
I applied via Approached by Company
It was spring boot java based online round
Eager initialization creates the instance of Singleton class at the time of class loading, while lazy initialization creates the instance only when it is required.
Eager initialization can lead to resource wastage if the instance is never used.
Lazy initialization is more efficient as it only creates the instance when needed.
Eager initialization is thread-safe by default, while lazy initialization requires synchronizatio...
Data structures and computer fundamentals
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 Sep 2022
I applied via campus placement at Banasthali Vidyapeeth Womens Institute For Studies In Development Oriented Management, Jaipur and was interviewed before Sep 2021. There were 2 interview rounds.
It had more than 30 aptitude questions and 2 coding questions
I applied via Naukri.com and was interviewed in May 2020. There were 5 interview rounds.
based on 1 interview
Interview experience
Assistant Manager
295
salaries
| ₹3.5 L/yr - ₹12.5 L/yr |
Manager
144
salaries
| ₹7.6 L/yr - ₹21.5 L/yr |
Analyst
142
salaries
| ₹4.3 L/yr - ₹12.3 L/yr |
Assistant Vice President
104
salaries
| ₹16 L/yr - ₹47 L/yr |
Senior Analyst
80
salaries
| ₹5.2 L/yr - ₹21.2 L/yr |
JPMorgan Chase & Co.
Goldman Sachs
Morgan Stanley
Barclays