Filter interviews by
I applied via LinkedIn and was interviewed in Oct 2023. There was 1 interview round.
Top trending discussions
I applied via Naukri.com and was interviewed in Jun 2024. There was 1 interview round.
Factory pattern is used to create objects without exposing the instantiation logic to the client. It can be used in inheritance to create objects of different subclasses.
Factory pattern can be used to create objects of different subclasses without exposing the instantiation logic to the client
It allows for flexibility in creating objects based on certain conditions or parameters
Factory pattern can be used in inheritanc...
posted on 7 Jan 2025
I applied via Recruitment Consulltant and was interviewed in Dec 2024. There were 2 interview rounds.
I was interviewed in Oct 2024.
I applied via Indeed and was interviewed in Jul 2024. There was 1 interview round.
Objects of String are stored in the String Pool in Java.
String objects are stored in the String Pool, a special memory area in Java heap memory.
String literals are automatically stored in the String Pool.
String objects created using the new keyword are not stored in the String Pool.
String.intern() method can be used to store a String object in the String Pool.
A bean in Spring Boot is a Java object that is instantiated, assembled, and managed by the Spring IoC container.
Beans are defined in the Spring configuration file or using annotations like @Component, @Service, @Repository, etc.
Beans are singleton by default but can be scoped as prototype, request, session, etc.
Beans are injected into other beans using dependency injection.
Example: @Component annotation is used to defi
Query parameters are used to pass data to a web server through the URL, while path parameters are part of the URL itself.
Query parameters are key-value pairs added to the end of a URL after a '?'
Path parameters are variables within the URL path itself, denoted by curly braces {}
Example of query parameter: www.example.com/api/users?id=123
Example of path parameter: www.example.com/api/users/{userId}
Exceptions are recoverable errors that can be handled in code, while errors are unrecoverable issues that usually result in program termination.
Exceptions are checked at compile time, while errors are unchecked.
Exceptions are subclasses of Throwable, while errors are subclasses of Error.
Examples of exceptions include FileNotFoundException, NullPointerException, while examples of errors include OutOfMemoryError, StackOv
I applied via Company Website and was interviewed in Sep 2024. There was 1 interview round.
Reverse a string while keeping the position of spaces intact
Split the string into an array of characters
Iterate through the array and reverse the characters while keeping track of space positions
Join the array back into a string
posted on 22 Oct 2024
Transactions in microservices are managed using distributed transactions or compensating transactions.
Distributed transactions involve multiple microservices coordinating with a transaction manager to ensure data consistency across services.
Compensating transactions involve each microservice having a compensating action to rollback changes if a transaction fails.
Saga pattern is commonly used in microservices to manage ...
posted on 20 May 2024
I applied via Naukri.com and was interviewed in Nov 2023. There was 1 interview round.
Query param is used to pass parameters in the URL query string, while path param is used to define parameters in the URL path itself.
Query param is specified after the '?' in the URL, like '?param=value'
Path param is specified in the URL path itself, like '/{param}'
Query params are optional and can be used for filtering or sorting data
Path params are used to define variables in the URL path, like IDs or names
Arrays have fixed size, while ArrayLists can dynamically resize. ArrayLists are part of Java Collections framework.
Arrays have a fixed size, while ArrayLists can dynamically resize.
Arrays can hold primitive data types and objects, while ArrayLists can only hold objects.
Arrays use square brackets [] for declaration, while ArrayLists use angle brackets <>.
Arrays are faster than ArrayLists for accessing elements directly ...
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 of these.
A class can extend only one abstract class, but can implement multiple interfaces.
Abstract classes are used to provide a common base for subclasses, while interfaces are used to define a contract for classes to ...
3 coding questions were given and to be solved only in java
based on 1 interview
Interview experience
Senior Associate
4.8k
salaries
| ₹2.8 L/yr - ₹13 L/yr |
Associate2
3.6k
salaries
| ₹2.2 L/yr - ₹7.8 L/yr |
Team Lead
1.9k
salaries
| ₹4.5 L/yr - ₹15.2 L/yr |
Assistant Manager
1.8k
salaries
| ₹8 L/yr - ₹30 L/yr |
Associate
1.4k
salaries
| ₹2 L/yr - ₹7.5 L/yr |
BNY
Northern Trust
Blackrock
JPMorgan Chase & Co.