Filter interviews by
I applied via Approached by Company and was interviewed in Aug 2023. There were 4 interview rounds.
There are two types of cloning in JavaScript: Shallow cloning and Deep cloning.
Shallow cloning creates a new object and copies the references of the original object's properties.
Deep cloning creates a new object and recursively copies all nested objects and their properties.
Shallow cloning can be achieved using Object.assign() or the spread operator (...).
Deep cloning can be achieved using libraries like Lodash or by i
Asynchronous operations allow tasks to be executed independently of the main program flow, improving performance and responsiveness.
Asynchronous operations are tasks that can run independently of the main program flow, allowing other tasks to continue without waiting for them to finish.
In Java, asynchronous operations can be handled using features like CompletableFuture, ExecutorService, and callbacks.
Example: Using Co...
promise.all waits for all promises to be resolved or any to be rejected, while promise.allSettled waits for all promises to be settled (either resolved or rejected)
promise.all waits for all promises to be resolved or any to be rejected
promise.allSettled waits for all promises to be settled (either resolved or rejected)
promise.all will reject immediately if any promise is rejected, while promise.allSettled always resolv
A bean in Spring is a Java object managed by the Spring IoC container. Spring bean life cycle includes instantiation, initialization, and destruction.
A Spring bean is a Java object that is instantiated, assembled, and managed by the Spring IoC container.
The life cycle of a Spring bean includes instantiation, initialization, in-use, and destruction phases.
Spring provides various ways to define beans, such as XML configu...
ORM framework stands for Object-Relational Mapping framework, which is used to map objects in code to tables in a database.
ORM frameworks help developers to interact with databases using objects instead of SQL queries.
They provide a way to perform CRUD operations on database tables using object-oriented programming.
Popular ORM frameworks include Hibernate, JPA (Java Persistence API), and Entity Framework.
Different types of object relations in Hibernate include one-to-one, one-to-many, many-to-one, and many-to-many.
One-to-one: Each record in one table is related to only one record in another table.
One-to-many: Each record in one table can be related to multiple records in another table.
Many-to-one: Multiple records in one table can be related to only one record in another table.
Many-to-many: Multiple records in one tabl...
Lazy initialization delays the creation of an object until it is actually needed, while eager initialization creates the object immediately.
Lazy initialization can improve performance by only creating objects when necessary.
Eager initialization can lead to higher memory usage as objects are created upfront.
Lazy initialization is commonly used in singleton design pattern to delay the creation of the instance until it is...
Passing an object in an API request body involves serializing the object into JSON or XML format.
Serialize the object into JSON or XML format before sending it in the request body
Use libraries like Jackson or Gson in Java to convert the object to JSON
Set the content type of the request to application/json or application/xml
I am familiar with Singleton, Factory, Observer, and Strategy design patterns.
Singleton pattern ensures a class has only one instance and provides a global point of access to it.
Factory pattern creates objects without specifying the exact class of object that will be created.
Observer pattern defines a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updat...
SOLID principles are a set of five design principles in object-oriented programming to make software more maintainable, flexible, and understandable.
S - Single Responsibility Principle: A class should have only one reason to change.
O - Open/Closed Principle: Software entities should be open for extension but closed for modification.
L - Liskov Substitution Principle: Objects of a superclass should be replaceable with ob...
ACID properties are a set of properties that guarantee the reliability of database transactions.
ACID stands for Atomicity, Consistency, Isolation, and Durability.
Atomicity ensures that either all operations in a transaction are completed successfully or none of them are.
Consistency ensures that the database remains in a consistent state before and after the transaction.
Isolation ensures that the concurrent execution of...
Top trending discussions
I applied via Company Website and was interviewed in Nov 2024. There were 2 interview rounds.
I applied via Referral and was interviewed in Nov 2024. There were 2 interview rounds.
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...
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
HashMap is non-synchronized and allows null values, while HashTable is synchronized and does not allow null values.
HashMap is non-synchronized, meaning it is not thread-safe, while HashTable is synchronized and thread-safe.
HashMap allows null values for both keys and values, while HashTable does not allow null keys or values.
HashMap is generally preferred for non-thread-safe applications, while HashTable is used in mul
I applied via Job Fair and was interviewed in Oct 2024. There were 4 interview rounds.
Onlin test consist pf easy numerical questions
Easy questions not so difficult
Yes, I am willing to work in any location for the right opportunity.
I am open to relocating for the right job opportunity
I am flexible and adaptable to new environments
I believe working in different locations can provide valuable experiences and growth opportunities
Java 8 introduced several new features including lambda expressions, functional interfaces, streams, and default methods.
Lambda expressions allow for more concise code and enable functional programming.
Functional interfaces are interfaces with a single abstract method, used for lambda expressions.
Streams provide a way to work with sequences of elements and support parallel processing.
Default methods allow interfaces to...
Currently working as a Java Developer at XYZ Company, responsible for developing and maintaining Java applications.
Developing and maintaining Java applications
Collaborating with team members on projects
Participating in code reviews and debugging
Implementing new features and enhancements
Troubleshooting and resolving technical issues
I was interviewed in Oct 2024.
To find the second highest salary in SQL, use the 'SELECT MAX(salary) FROM employees WHERE salary < (SELECT MAX(salary) FROM employees);'
Use the MAX() function to find the highest salary in the table
Use a subquery to find the maximum salary that is less than the highest salary
Combine both queries to get the second highest salary
ACID properties are a set of properties that guarantee database transactions are processed reliably.
ACID stands for Atomicity, Consistency, Isolation, Durability
Atomicity ensures that all operations in a transaction are completed successfully or none at all
Consistency ensures that the database remains in a consistent state before and after the transaction
Isolation ensures that transactions are executed independently of...
I applied via Company Website and was interviewed in Oct 2024. There were 3 interview rounds.
First round is quit easy
2 coding question based on dsa
SDLC stands for Software Development Life Cycle, which consists of different phases from planning to maintenance.
1. Planning phase involves defining project scope, requirements, and creating a project plan.
2. Analysis phase focuses on gathering and analyzing requirements to create a detailed system design.
3. Design phase involves creating a high-level design, detailed design, and architecture for the software.
4. Implem...
The 4 pillars of data structure are arrays, linked lists, stacks, and queues.
Arrays: Data structure that stores a collection of elements with a fixed size.
Linked Lists: Data structure where each element points to the next element in the sequence.
Stacks: Data structure that follows the Last In First Out (LIFO) principle.
Queues: Data structure that follows the First In First Out (FIFO) principle.
I applied via Referral and was interviewed in Aug 2024. There were 3 interview rounds.
HashSet is a collection that does not allow duplicate elements and does not guarantee the order of elements.
HashSet uses a hash table for storage.
Elements are stored based on their hash code.
Adding an element to a HashSet returns false if the element is already present.
Example: HashSet
I want to join Deloitte because of its reputation for innovation, diverse projects, and opportunities for growth.
Deloitte is known for its innovative projects and cutting-edge technology, which aligns with my passion for staying up-to-date with the latest trends in Java development.
I am impressed by Deloitte's diverse range of projects and clients, which will provide me with valuable experience and the opportunity to w...
Some of the top questions asked at the FRSPL Java Developer interview -
based on 3 reviews
Rating in categories
Java Developer
19
salaries
| ₹9.5 L/yr - ₹32 L/yr |
Storage Backup Administrator
13
salaries
| ₹8.8 L/yr - ₹15 L/yr |
Backup Administrator
8
salaries
| ₹8.4 L/yr - ₹10 L/yr |
Senior Java Developer
7
salaries
| ₹23 L/yr - ₹46 L/yr |
Senior Software Engineer
7
salaries
| ₹12 L/yr - ₹30 L/yr |
TCS
Infosys
Wipro
HCLTech