Filter interviews by
I applied via Naukri.com and was interviewed in Jan 2024. There was 1 interview round.
Inheritance is a mechanism in object-oriented programming where a class inherits properties and behaviors from another class.
Inheritance allows for code reuse and promotes the concept of hierarchy.
The class that is being inherited from is called the base class or superclass.
The class that inherits from the base class is called the derived class or subclass.
The derived class can access the public and protected members o...
CORS (Cross-Origin Resource Sharing) is a mechanism that allows resources on a web page to be requested from another domain.
CORS is used to overcome the same-origin policy enforced by web browsers.
It allows a web page to make XMLHttpRequests to another domain, different from the domain that served the web page.
CORS involves the browser and the server communicating and agreeing on whether the request should be allowed o...
Top trending discussions
MVC is a design pattern used in .NET development, while .NET lifecycle refers to the stages of a .NET application's execution.
MVC is a design pattern that separates an application into three main components: Model, View, and Controller.
.NET lifecycle refers to the stages of a .NET application's execution, including initialization, execution, and termination.
MVC helps in achieving separation of concerns and making the c...
Dispose is used to release unmanaged resources immediately, while Finalize is used for cleanup operations before an object is destroyed by the garbage collector.
Dispose is called explicitly by the developer, while Finalize is called by the garbage collector.
Dispose should be implemented in classes that directly interact with unmanaged resources.
Finalize should be implemented in classes that need to release resources be...
DOM sanitizer in Angular is used to sanitize untrusted HTML to prevent XSS attacks.
DOM sanitizer is used to sanitize HTML content before rendering it in Angular templates.
It helps prevent Cross-Site Scripting (XSS) attacks by removing potentially harmful content.
Angular provides a built-in DomSanitizer service for sanitizing HTML content.
Example: Using DomSanitizer in Angular template to sanitize a URL before rendering
I use Ngrx for state management in my current project by defining actions, reducers, effects, and selectors.
Define actions to describe user events or interactions
Create reducers to specify how state should change in response to actions
Implement effects to manage side effects like API calls
Use selectors to retrieve specific pieces of state for components
Stored procedures are precompiled SQL queries stored in the database, while functions are reusable code blocks that return a value.
Stored procedures are used for performing specific tasks or operations on the database.
Functions are used to encapsulate logic and can be called within SQL queries or other functions.
Stored procedures can have input and output parameters, while functions always return a value.
Stored procedu...
Model binder in MVC is used to map data from HTTP requests to action method parameters in controllers.
Model binder maps form data, query string parameters, and route data to action method parameters in MVC controllers.
It helps in simplifying the process of extracting data from HTTP requests.
Model binder can be customized by creating custom model binders to handle complex data binding scenarios.
Yes, the transaction will be rolled back if the innermost stored procedure throws an error.
If an error occurs in the innermost stored procedure, it will cause the entire transaction to be rolled back.
This ensures that the database remains in a consistent state.
Rolling back the transaction means that any changes made by the stored procedures within the transaction will be undone.
NgOnInit is a lifecycle hook in Angular that is called after the component has been initialized, while the constructor is a TypeScript feature used to initialize class properties.
NgOnInit is specific to Angular components, while constructor is a general TypeScript feature.
NgOnInit is used for initialization logic that relies on Angular's view and input bindings being initialized, while constructor is used for basic ini...
zone.js is a library for managing asynchronous operations in Angular applications.
zone.js helps in tracking asynchronous operations and their execution context in Angular applications.
It provides hooks for intercepting asynchronous tasks like setTimeout, setInterval, and promises.
zone.js can be used for profiling, debugging, and error handling in Angular applications.
Use a query with GROUP BY and HAVING clause to identify and remove duplicates from a table.
Use GROUP BY to group rows with the same values
Use HAVING COUNT(*) > 1 to identify duplicates
Use DELETE statement to remove duplicates
Trapping rain water and median of two sorted array
I applied via Naukri.com and was interviewed in Oct 2024. There were 3 interview rounds.
Online zoom coding test will be there - 4 questions - 2 about output of code & 2 about technical questions.
Polymorphism is the ability of a single function or method to operate on different types of data.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
Virtual polymorphism is achieved through virtual functions in C++.
Virtual functions allow a function in a base class to be overridden in a derived class.
Example: Animal class with virtual function 'makeSound' overridden in Dog a
Virtual polymorphism allows objects of different classes to be treated as objects of a common superclass.
Create a base class with virtual functions
Create derived classes that override the virtual functions
Use pointers or references of the base class to call the overridden functions
I applied via campus placement at National Institute of Technology (NIT), Raipur and was interviewed in Nov 2024. There were 3 interview rounds.
The DSA round happens with pseudo code
Mcq+coding which are medium level questions
No, multiple inheritance is not allowed in Java.
Java does not support multiple inheritance for classes to avoid the diamond problem.
However, multiple inheritance is allowed for interfaces in Java.
Example: class A extends B, C is not allowed, but interface X extends Y, Z is allowed.
Static is used to define class-level variables and methods, while final is used to define constants and prevent inheritance or modification.
Static variables and methods belong to the class itself, while final variables cannot be changed once initialized.
Static members can be accessed without creating an instance of the class, while final members must be accessed through an instance.
Static variables are shared among all...
Data encapsulation is the concept of bundling data and methods that operate on the data into a single unit, known as a class.
Encapsulation hides the internal state of an object and only exposes the necessary functionalities through methods.
It helps in achieving data abstraction and information hiding.
Example: A class 'Car' encapsulates data like speed, color, and methods like accelerate() and brake().
I am a passionate software developer with experience in Java, Python, and web development.
Experienced in Java, Python, and web development technologies
Strong problem-solving skills
Team player with excellent communication skills
Company core values are the fundamental beliefs that guide the behavior and decisions of employees.
Integrity - acting with honesty and transparency in all dealings
Innovation - constantly seeking new and better ways to solve problems
Customer focus - prioritizing the needs and satisfaction of customers
Teamwork - collaborating effectively with colleagues to achieve common goals
It was data structures and algorithm
I applied via Referral and was interviewed in May 2024. There were 4 interview rounds.
Moderate coding question
Assignment based on a app
Inheritance in Java allows a class to inherit properties and behavior from another class.
Inheritance allows for code reusability and promotes a hierarchical relationship between classes.
Subclasses can access the methods and fields of their superclass.
Example: class Dog extends Animal {} - Dog inherits properties and behavior from Animal class.
OOP focuses on objects and classes, while POP focuses on procedures and functions.
OOP emphasizes data encapsulation and inheritance
POP emphasizes sequential execution of procedures
Example of OOP: Java, C++
Example of POP: C, Pascal
I applied via Walk-in and was interviewed in May 2024. There was 1 interview round.
LRU cache with multi level caching involves implementing a cache with multiple levels of storage, where the least recently used items are evicted first.
Implement a two-level cache system with a primary cache (e.g. in-memory) and a secondary cache (e.g. disk-based).
Use a data structure like a doubly linked list and a hash map to efficiently manage the cache and track the least recently used items.
When an item is accesse...
Back Office Executive
4
salaries
| ₹1 L/yr - ₹1 L/yr |
Manager
3
salaries
| ₹4.2 L/yr - ₹8 L/yr |
Branch Manager
3
salaries
| ₹3 L/yr - ₹7 L/yr |
Insurance Operations Executive
3
salaries
| ₹2.1 L/yr - ₹2.6 L/yr |
Marsh India Insurance Brokers
JLT Independent Consultancy Services
Aum Insurance Brokers
Willis Towers Watson