Filter interviews by
I applied via Hirect and was interviewed before Nov 2023. There was 1 interview round.
Auto wiring in Spring Boot is a feature that allows Spring to automatically inject dependencies into a bean.
Auto wiring eliminates the need for manual configuration of dependencies in Spring beans
It can be achieved by using @Autowired annotation
There are different types of auto wiring modes like 'byType', 'byName', 'constructor', and 'autodetect'
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have constructors, fields, and methods, while interface cannot have any implementation.
A class can implement multiple interfaces but can only inherit from one abstract class.
Abstract classes are used to define a common base class for related classes, while interfaces are used to define a con...
A stack is a data structure that follows the Last In First Out (LIFO) principle, where elements are added and removed from the top.
Stack is a linear data structure with two main operations: PUSH (adds an element to the top) and POP (removes the top element).
Other common operations include peek (view the top element without removing it) and isEmpty (check if the stack is empty).
Example: In a stack of plates, you can onl...
Top trending discussions
I was interviewed in Sep 2024.
Questions regarding Java 8, Spring Boot, and Microservices were asked.
posted on 8 Aug 2024
Microfrontend is a software architectural style where a frontend application is decomposed into smaller, more manageable pieces.
Microfrontend allows teams to work on different parts of the frontend independently.
Each microfrontend can be developed, tested, and deployed separately.
Microfrontend architecture helps in scaling large frontend applications.
Examples of microfrontend frameworks include single-spa, Webpack Modu
Setting up environment in Angular app, understanding pipes, async, pure/impure, Subject and BehaviorSubject in theory
Setting up environment in Angular app involves configuring environment files for different environments like development, production, etc.
Pipes in Angular are used for transforming data in templates. Async pipes are used for handling asynchronous data streams.
Pure pipes are stateless and only recompute w...
posted on 14 Dec 2024
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
Annotation used in Spring framework to enable component scanning for Spring-managed beans.
Used to automatically detect and register Spring-managed beans within the specified package(s)
Can be used at class level or configuration classes to specify base package(s) to scan
Can be customized with additional attributes like basePackageClasses, includeFilters, excludeFilters
Example: @ComponentScan(basePackages = {"com.example
The @Controller and @RestController annotations are used in Spring MVC to define classes as controllers for handling web requests.
The @Controller annotation is used to define a class as a controller in Spring MVC, which can handle web requests and return a view.
The @RestController annotation is used to define a class as a RESTful controller in Spring MVC, which can handle web requests and return data in JSON or XML for...
I was interviewed in Jan 2024.
Class loader is a part of Java Runtime Environment (JRE) that loads classes and interfaces at runtime.
Class loader is responsible for locating and loading the necessary class files into memory.
It follows a hierarchical structure and delegates the class loading to parent class loaders.
Class loaders can be customized to load classes from different sources like file system, network, or database.
They provide a level of sec...
final is a keyword in Java used to declare a constant value. finally is a block used in exception handling to ensure a piece of code is always executed.
final is used to declare a variable whose value cannot be changed
finally is used in a try-catch block to specify a block of code that will always be executed, regardless of whether an exception is thrown or not
ArrayList is a resizable array implementation in Java.
ArrayList is a class in Java's Collection framework.
It provides dynamic resizing, unlike regular arrays.
It can store objects of any type, including strings.
ArrayLists can grow or shrink dynamically as elements are added or removed.
Example: ArrayList
HashMap is a data structure that stores key-value pairs and provides constant time complexity for basic operations.
HashMap is part of the Java Collections Framework.
It allows null values and null keys.
Keys must be unique, but values can be duplicated.
Basic operations include put(key, value), get(key), remove(key), and containsKey(key).
Example: HashMap
I applied via Company Website and was interviewed in Aug 2023. There were 3 interview rounds.
Mediam hard question quick sort, sliding window, oops, segment tree
Deadlock is a situation in which two or more processes are unable to proceed because each is waiting for the other to release a resource.
Occurs in multitasking environments
Caused by a circular wait condition
Can be resolved using techniques like deadlock prevention, deadlock avoidance, and deadlock detection
Example: Process A holds Resource 1 and waits for Resource 2, while Process B holds Resource 2 and waits for Resou
based on 1 interview
Interview experience
Software Engineer
7
salaries
| ₹3 L/yr - ₹5.2 L/yr |
Senior Software Engineer
3
salaries
| ₹6 L/yr - ₹12 L/yr |
TCS
Accenture
Wipro
Cognizant