Filter interviews by
In Java, exceptions can be handled using try-catch blocks to catch and handle specific exceptions.
Use try-catch blocks to catch exceptions and handle them gracefully
Use multiple catch blocks to handle different types of exceptions
Use finally block to execute code regardless of whether an exception is thrown or not
Throw custom exceptions using throw keyword
map transforms each element in a stream, while flatMap transforms each element into multiple elements
map applies a function to each element in a stream and returns a new stream of the results
flatMap applies a function that returns a stream for each element in the original stream, then flattens the streams into a single stream
Example: map - stream.map(x -> x * x), flatMap - stream.flatMap(str -> Arrays.stream(str.s...
ConcurrentModificationException occurs when a collection is modified while iterating over it.
Use Iterator to iterate over the collection instead of foreach loop.
If modification is necessary, use Iterator's remove() method instead of collection's remove() method.
Consider using synchronized collections or ConcurrentHashMap to avoid ConcurrentModificationException.
Dependency Injection is a design pattern in which components are given their dependencies rather than creating them internally.
Allows for easier testing by providing mock dependencies
Promotes loose coupling between components
Improves code reusability and maintainability
Examples: Constructor injection, Setter injection, Interface injection
Heap and stack are two types of memory allocation in computer systems.
Stack is used for static memory allocation while heap is used for dynamic memory allocation.
Stack memory is allocated in a contiguous block while heap memory is not.
Stack memory is managed by the CPU while heap memory is managed by the programmer.
Stack memory is faster to access than heap memory.
Examples of stack memory include function calls an...
Load factor for HASH MAP is the ratio of number of elements to the size of the table.
Load factor determines the efficiency of the HASH MAP.
It is calculated as the number of elements divided by the size of the table.
A higher load factor means more collisions and slower performance.
A good load factor is around 0.75.
Load factor can be adjusted by increasing or decreasing the size of the table.
The .NET framework is a software development platform developed by Microsoft. OOPs stands for Object-Oriented Programming, a programming paradigm based on the concept of objects.
The .NET framework is used for building various types of applications, including web, desktop, and mobile applications.
OOPs is a programming paradigm that uses objects and classes to design and develop applications.
In OOPs, objects are ins...
I appeared for an interview in Dec 2024.
Logical intelligence
Any information can be discussed.
A comprehensive analysis of an individual, group, situation, or phenomenon over an extended duration.
The reporter vanished while on assignment in the war zone.
Dependency Injection is a design pattern in which components are given their dependencies rather than creating them internally.
Allows for easier testing by providing mock dependencies
Promotes loose coupling between components
Improves code reusability and maintainability
Examples: Constructor injection, Setter injection, Interface injection
In Java, exceptions can be handled using try-catch blocks to catch and handle specific exceptions.
Use try-catch blocks to catch exceptions and handle them gracefully
Use multiple catch blocks to handle different types of exceptions
Use finally block to execute code regardless of whether an exception is thrown or not
Throw custom exceptions using throw keyword
map transforms each element in a stream, while flatMap transforms each element into multiple elements
map applies a function to each element in a stream and returns a new stream of the results
flatMap applies a function that returns a stream for each element in the original stream, then flattens the streams into a single stream
Example: map - stream.map(x -> x * x), flatMap - stream.flatMap(str -> Arrays.stream(str.split(...
ConcurrentModificationException occurs when a collection is modified while iterating over it.
Use Iterator to iterate over the collection instead of foreach loop.
If modification is necessary, use Iterator's remove() method instead of collection's remove() method.
Consider using synchronized collections or ConcurrentHashMap to avoid ConcurrentModificationException.
I applied via Naukri.com and was interviewed before Mar 2023. There were 2 interview rounds.
The .NET framework is a software development platform developed by Microsoft. OOPs stands for Object-Oriented Programming, a programming paradigm based on the concept of objects.
The .NET framework is used for building various types of applications, including web, desktop, and mobile applications.
OOPs is a programming paradigm that uses objects and classes to design and develop applications.
In OOPs, objects are instance...
I applied via Job Portal and was interviewed in Jul 2021. There was 1 interview round.
Load factor for HASH MAP is the ratio of number of elements to the size of the table.
Load factor determines the efficiency of the HASH MAP.
It is calculated as the number of elements divided by the size of the table.
A higher load factor means more collisions and slower performance.
A good load factor is around 0.75.
Load factor can be adjusted by increasing or decreasing the size of the table.
Heap and stack are two types of memory allocation in computer systems.
Stack is used for static memory allocation while heap is used for dynamic memory allocation.
Stack memory is allocated in a contiguous block while heap memory is not.
Stack memory is managed by the CPU while heap memory is managed by the programmer.
Stack memory is faster to access than heap memory.
Examples of stack memory include function calls and loc...
Top trending discussions
I applied via Walk-in and was interviewed before Dec 2020. There were 3 interview rounds.
A Fibonacci program generates a sequence where each number is the sum of the two preceding ones, starting from 0 and 1.
The Fibonacci sequence starts with 0 and 1.
Each subsequent number is the sum of the previous two: 0, 1, 1, 2, 3, 5, 8, 13, ...
Common implementations include recursive, iterative, and using dynamic programming.
Example of an iterative approach in Python: ```python def fibonacci(n): a, b = 0, 1 ...
I applied via LinkedIn and was interviewed before Jul 2021. There were 2 interview rounds.
Easy logical questions
basic quant
Easy level coding questions
Counting frequency of alphabets
Multiple dispatch is not a feature of Redux. It can be achieved using middleware or custom logic.
Middleware like redux-thunk or redux-saga can be used to dispatch multiple actions based on a single action.
Custom logic can be implemented in the reducer to handle multiple actions based on a single action type.
For example, a single 'ADD_ITEM' action can trigger multiple actions like 'UPDATE_TOTAL', 'UPDATE_HISTORY', etc.
M...
I applied via Naukri.com and was interviewed before Sep 2019. There were 6 interview rounds.
I applied via Walk-in and was interviewed before Sep 2019. There were 3 interview rounds.
based on 4 interview experiences
Difficulty level
Duration
based on 15 reviews
Rating in categories
Technical Service Engineer
1.2k
salaries
| ₹2.3 L/yr - ₹16 L/yr |
Application Developer
1k
salaries
| ₹2.2 L/yr - ₹16 L/yr |
Assistant Application Developer
689
salaries
| ₹2.5 L/yr - ₹8.5 L/yr |
Assistant Technical Service Engineer
633
salaries
| ₹2.5 L/yr - ₹7.8 L/yr |
Associate Application Developer
565
salaries
| ₹3.8 L/yr - ₹15.7 L/yr |
Accenture
TCS
Wipro
Cognizant