Filter interviews by
Writing coding loke reverse, palindrome, find duplicate, remove duplicate, coding using java 8 like stream api, lambda expressions, foreach method,
OOPs concepts are fundamental principles of object-oriented programming such as inheritance, encapsulation, polymorphism, and abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Polymorphism: Ability to present the same interface for different data types.
Abstraction: Hiding the complex implemen...
I applied via Company Website and was interviewed in Oct 2024. There was 1 interview round.
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have constructor, fields, and methods, while interface cannot have any of these.
A class can implement multiple interfaces but can only extend one abstract class.
Abstract classes are used to provide a common base for subclasses, while interfaces are used to define a contract for classes to im...
Arrays store elements in contiguous memory locations, while linked lists store elements in nodes with pointers to the next node.
Arrays have fixed size, while linked lists can dynamically grow or shrink.
Accessing elements in arrays is faster (O(1)), while accessing elements in linked lists is slower (O(n)).
Inserting or deleting elements in arrays can be inefficient as it may require shifting elements, while in linked li
I applied via LinkedIn and was interviewed in Jan 2024. There was 1 interview round.
Exception handling in Spring Boot involves using try-catch blocks, global exception handlers, and custom exception classes.
Use try-catch blocks to handle exceptions within specific methods.
Implement global exception handlers to handle exceptions across the entire application.
Create custom exception classes to handle specific types of exceptions.
Use the @ExceptionHandler annotation to define methods that handle specific...
JPA entity graphs define the relationships between entities and specify which attributes to fetch.
JPA entity graphs are used to optimize database queries by specifying the relationships between entities.
They allow developers to define which attributes of an entity should be fetched from the database.
Entity graphs can be defined using annotations or programmatically using the JPA API.
By using entity graphs, developers c...
JVM memory model defines how Java programs allocate and manage memory.
JVM memory model is divided into several areas like heap, stack, method area, etc.
Heap is used for dynamic memory allocation, while stack is used for method calls and local variables.
Method area stores class-level data like bytecode, constant pool, etc.
JVM memory model ensures memory safety through garbage collection.
Examples of JVM memory management...
I applied via Naukri.com and was interviewed in Sep 2023. There were 2 interview rounds.
Java 8 introduced new features like lambda expressions, Stream API, default methods, and more.
Lambda expressions allow functional programming in Java.
Stream API provides a way to work with collections in a more functional style.
Default methods allow interfaces to have method implementations.
Java 8 also introduced the new Date and Time API, Nashorn JavaScript engine, and more.
MetaSpace in Java 8 is a replacement for the...
Java 8 introduced several enhancements to HashMap including performance improvements and new methods.
Java 8 introduced the 'compute', 'computeIfAbsent', and 'computeIfPresent' methods for HashMap.
The 'forEach' method was added to HashMap in Java 8 for iterating over key-value pairs.
Java 8 also introduced the 'merge' method for combining values in case of duplicate keys.
Race condition occurs when multiple threads try to access and modify the same resource simultaneously, while deadlock occurs when two or more threads are waiting for each other to release resources.
Race condition is a situation in which the outcome of a program depends on the order of execution of its threads.
Deadlock is a situation where two or more threads are blocked forever, waiting for each other to release resour...
ResponseState and ServerState are different states in a software system that represent different aspects of the system's functionality.
ResponseState typically refers to the state of a response object in a software system, indicating whether the response was successful, failed, or pending.
ServerState, on the other hand, refers to the state of the server in a software system, indicating whether the server is running, sto...
I have implemented try-catch blocks for handling exceptions in my project.
Used try-catch blocks to catch exceptions and handle them gracefully
Implemented specific catch blocks for different types of exceptions
Utilized finally block for cleanup operations after exception handling
ConcurrentModificationException is thrown when an object is modified concurrently while iterating over it.
Occurs when a collection is modified while being iterated over using an iterator
Can be avoided by using ConcurrentHashMap or CopyOnWriteArrayList
Example: ArrayList being modified while iterating over it
Yes, unit testing is essential in my projects to ensure code quality and identify bugs early on.
Yes, I have experience with unit testing in my projects.
Unit testing helps in identifying bugs early in the development process.
It ensures code quality and helps in maintaining code integrity.
Unit tests also serve as documentation for the codebase.
Examples: JUnit, Mockito, TestNG.
The main difference between @EnableMock and @Spy in Junit5 is that @EnableMock creates a mock object while @Spy creates a spy object.
The @EnableMock annotation is used to create a mock object for a class or interface, allowing you to define its behavior using Mockito.
The @Spy annotation is used to create a spy object, which is a real object with some mock behavior. It allows you to mock specific methods while calling t...
Securing REST API's involves using authentication, authorization, encryption, and input validation.
Use authentication mechanisms like OAuth, JWT, or API keys to verify the identity of clients accessing the API.
Implement authorization to control what actions different users can perform on the API.
Encrypt data transmission using HTTPS to prevent eavesdropping and man-in-the-middle attacks.
Validate and sanitize input data...
The main difference between @PutMapping and @PatchMapping is the level of data that is updated.
PutMapping is used to update an entire resource, while PatchMapping is used to update only specific fields of a resource.
PutMapping replaces the entire resource with the new data provided, while PatchMapping updates only the specified fields.
PutMapping is idempotent, meaning multiple identical requests will have the same effe...
Interprocess Communication in Microservices architecture is typically achieved through lightweight protocols like HTTP or messaging queues.
Microservices communicate with each other using RESTful APIs over HTTP.
Message brokers like Kafka or RabbitMQ are used for asynchronous communication between microservices.
Service mesh tools like Istio can be used to manage communication between microservices.
gRPC can be used for hi...
Yes, we can write procedures in String Data JPA to handle complex databases in Spring Data JPA persistence.
Use @Procedure annotation to call stored procedures in Spring Data JPA.
Define the stored procedure in the database and then call it using the @Procedure annotation in the repository interface.
Handle complex database operations by writing custom queries or using native queries in Spring Data JPA.
Proficient in C language and Java programming with experience in developing software applications.
Strong understanding of data structures and algorithms in C language
Experience in developing web applications using Java
Knowledge of object-oriented programming principles in Java
Familiarity with Java frameworks like Spring and Hibernate
I applied via Naukri.com and was interviewed in Feb 2024. There was 1 interview round.
I applied via Job Portal and was interviewed in Jul 2023. There was 1 interview round.
Spring Boot Dev Tools is a set of utilities that help in development and debugging of Spring Boot applications.
Spring Boot Dev Tools provides automatic restart of the application when changes are detected in the classpath.
It enables live reloading of static resources like HTML, CSS, and JavaScript without restarting the server.
Dev Tools also enhances the developer experience by providing additional features like remote...
Session Factory is a factory class that creates Session objects for Hibernate.
Session Factory is responsible for creating and managing Session objects.
It is a thread-safe object and should be created only once per application.
It is typically created during application startup and closed during shutdown.
It is configured with database connection details and Hibernate properties.
Example: SessionFactory sessionFactory = ne...
I applied via Shine and was interviewed in Jul 2023. There were 3 interview rounds.
General knowledge questions and skills related questions
I applied via Company Website and was interviewed in Nov 2022. There were 3 interview rounds.
Sql java basics of html css Javascript
Software Developer
11
salaries
| ₹2.4 L/yr - ₹6 L/yr |
Softwaretest Engineer
8
salaries
| ₹3.6 L/yr - ₹5 L/yr |
Java Developer
5
salaries
| ₹2.8 L/yr - ₹4.5 L/yr |
QA Engineer
5
salaries
| ₹3.6 L/yr - ₹4.9 L/yr |
Automation Test Engineer
5
salaries
| ₹4.2 L/yr - ₹4.8 L/yr |
TCS
Accenture
Wipro
Cognizant