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 was interviewed in Dec 2024.
I applied via Approached by Company and was interviewed in Dec 2024. There was 1 interview round.
I applied via Company Website and was interviewed in Nov 2024. There were 2 interview rounds.
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
I have 2 years of experience working with Docker in various projects.
2 years of experience working with Docker in various projects
Proficient in creating Docker containers, managing images, and orchestrating containers using Docker Compose
Familiar with Docker Swarm and Kubernetes for container orchestration
Experience in troubleshooting Docker-related issues and optimizing container performance
Yes, I have experience in Kubernetes.
I have worked on deploying and managing applications on Kubernetes clusters.
I am familiar with creating and managing Kubernetes resources such as pods, deployments, services, and ingresses.
I have experience in using tools like kubectl and Helm for interacting with Kubernetes clusters.
I have implemented CI/CD pipelines using Kubernetes for automated deployment and scaling of applicat
OOP stands for Object-Oriented Programming, a programming paradigm based on the concept of objects.
OOP focuses on creating objects that contain data and methods to manipulate that data.
Encapsulation, inheritance, and polymorphism are key principles of OOP.
Examples of OOP languages include Java, C++, and Python.
Polymorphism in Java refers to the ability of a method to do different things based on the object it is acting upon.
Types of polymorphism in Java include method overloading and method overriding.
Method overloading is when multiple methods have the same name but different parameters.
Method overriding is when a subclass provides a specific implementation of a method that is already defined in its superclass.
Threads in Java allow multiple tasks to run concurrently within a single program.
Threads are lightweight sub-processes that share the same memory space.
They are used to improve performance by allowing tasks to run simultaneously.
Examples include creating a new thread using the Thread class or implementing the Runnable interface.
Spring profile is a way to segregate parts of your application configuration and make it only available in certain environments.
Spring profiles allow you to define different configurations for different environments such as development, testing, and production.
You can use @Profile annotation to specify which beans should be loaded based on the active profile.
Profiles can be activated in various ways such as through app...
Annotations used in Spring Security to apply authorization rules before and after a method is called.
Used in Spring Security to define authorization rules
@PreAuthorize is used to apply authorization rules before a method is called
@PostAuthorize is used to apply authorization rules after a method is called
Both annotations support SpEL expressions for defining rules
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
Java 8 introduced lambda expressions, Java 11 added local-variable syntax for lambda parameters, and Java 17 included sealed classes and pattern matching.
Java 8 introduced lambda expressions for functional programming.
Java 11 added local-variable syntax for lambda parameters to simplify code.
Java 17 included sealed classes to restrict inheritance and pattern matching for instanceof checks and type casts.
Count the number of words in a given string.
Split the string by spaces and count the number of resulting elements.
Handle edge cases like multiple spaces or empty strings.
Consider punctuation marks as part of words unless specified otherwise.
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 Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
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
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.
based on 3 reviews
Rating in categories
Java Developer
17
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