Filter interviews by
I applied via Walk-in and was interviewed in Mar 2024. There were 3 interview rounds.
Mathematical question , grammatical question
OOPs stands for Object-Oriented Programming. It is used in Java to organize code into objects for better reusability, maintainability, and scalability.
OOPs allows for the creation of classes and objects, which encapsulate data and behavior together.
It promotes concepts like inheritance, polymorphism, encapsulation, and abstraction.
Using OOPs in Java leads to modular and organized code, making it easier to understand an...
Access modifiers in Java control the visibility and accessibility of classes, methods, and variables.
Access modifiers include public, private, protected, and default (no modifier).
Public - accessible from any other class.
Private - only accessible within the same class.
Protected - accessible within the same package and subclasses.
Default - accessible only within the same package.
Access modifiers help in encapsulation, d
Experienced Java Developer with 5+ years of industry experience in developing web applications and software solutions.
5+ years of experience in Java development
Strong knowledge of web application development
Proficient in software solution design
Familiar with Agile methodologies
Excellent problem-solving skills
Developed a web application for online shopping with user authentication and payment gateway integration.
Used Java Spring framework for backend development
Implemented RESTful APIs for communication between frontend and backend
Integrated Stripe API for secure payment processing
I applied via Naukri.com and was interviewed before Apr 2023. There were 2 interview rounds.
An interface in Java is a reference type, similar to a class, that can contain only constants, method signatures, default methods, static methods, and nested types.
Interfaces are used to define a contract for classes that implement them.
Classes can implement multiple interfaces, but can only extend one class.
Interfaces are used to achieve abstraction and multiple inheritance in Java.
Example: interface Animal { void eat
Hibernate is an open-source Java framework that simplifies database operations by mapping Java objects to database tables.
Hibernate is an ORM (Object-Relational Mapping) tool.
It provides a way to map Java classes to database tables and Java data types to SQL data types.
Hibernate handles the mapping between Java objects and database tables, as well as the generation of SQL queries.
It simplifies database operations by al...
Abstract class is a class that cannot be instantiated and may contain abstract methods.
Cannot be instantiated directly
May contain abstract methods that must be implemented by subclasses
Can have both abstract and non-abstract methods
Used to define a common interface for subclasses
Top trending discussions
I applied via Naukri.com and was interviewed in Jul 2021. There was 1 interview round.
Stirling is a mathematical formula for approximating factorials, while StringBuffer is a mutable sequence of characters.
Stirling is used to calculate large factorials, while StringBuffer is used to manipulate strings efficiently.
Stirling's formula is n! ≈ √(2πn) * (n/e)^n, while StringBuffer has methods like append(), insert(), and delete() for string manipulation.
Stirling is a mathematical concept, while StringBuffer
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 Naukri.com and was interviewed in Sep 2024. There were 3 interview rounds.
Create an API to fetch id and JSON from the client.
Create a RESTful API endpoint that accepts requests from the client
Use a GET request to fetch the id and JSON data from the client
Implement error handling for invalid requests or missing data
Use Java 8 stream to find the forth highest salary from a List.
Use stream() method to convert the List to a stream.
Use distinct() method to remove duplicates.
Use sorted() method to sort the salaries in ascending order.
Use skip() method to skip the first three highest salaries.
Use findFirst() method to get the forth highest salary.
I applied via Naukri.com and was interviewed in Nov 2022. There were 4 interview rounds.
I applied via Company Website and was interviewed in Apr 2024. There was 1 interview round.
Ensuring that a class can be safely used by multiple threads concurrently.
Use synchronized keyword to ensure only one thread can access critical sections at a time.
Avoid mutable shared state to prevent race conditions.
Consider using thread-safe data structures like ConcurrentHashMap or AtomicInteger.
Implementing the java.util.concurrent.locks.Lock interface for more fine-grained control over synchronization.
I applied via Approached by Company and was interviewed before Apr 2023. There were 2 interview rounds.
I appeared for an interview in Oct 2021.
Round duration - 60 minutes
Round difficulty - Easy
Technical Interview round with questions on DSA and Java.
Given an array A
of size N
, initialized with all zeros, and another array ARR
of M
pairs of integers representing operations. Each operation consists of a range where e...
Find the maximum element in an array after performing a series of increment operations on specified ranges.
Initialize an array of size N with all zeros
Iterate through the operations and increment elements within specified ranges
Return the maximum element in the array after all operations
HashMap in Java is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values based on keys.
HashMap internally uses an array of linked lists to store key-value pairs.
When a key-value pair is added, the key is hashed to find the index in the array where it will be stored.
If multiple keys hash to the same index, a linked list is used to handle collisions.
Retrieving a value involves hashi...
Overriding equals and hashCode methods in Java is important for proper object comparison and hashing.
Equals method is used to compare two objects for equality, while hashCode method is used to generate a unique integer value for an object.
By overriding equals and hashCode methods, we can ensure that objects are compared based on their actual content rather than memory address.
This is crucial for collections like HashMa...
Round duration - 60 minutes
Round difficulty - Medium
Technical Interview round with questions based around Java.
Use two threads to print even and odd numbers in increasing order.
Create two threads, one for printing even numbers and one for printing odd numbers.
Use a shared variable to keep track of the current number to be printed.
Synchronize access to the shared variable to ensure correct ordering of numbers.
Use a loop in each thread to print the next number and update the shared variable.
CopyOnWriteArrayList creates a new copy of the underlying array whenever an element is added, modified, or removed.
CopyOnWriteArrayList is thread-safe and suitable for scenarios where reads are more frequent than writes.
Adding, modifying, or removing elements in CopyOnWriteArrayList creates a new copy of the underlying array, ensuring thread safety.
Iterators on CopyOnWriteArrayList operate on the original array and do
Synchronized Collection is thread-safe but may have performance issues, while Concurrent Collection is optimized for concurrent access.
Synchronized Collection uses synchronized keyword to achieve thread-safety, while Concurrent Collection uses non-blocking algorithms like CAS (Compare and Swap).
Synchronized Collection locks the entire collection during modification, leading to potential performance bottlenecks, while C...
Tip 1 : Thread concept is must for Morgan Stanley. So prepare that on priority
Tip 2 : Basic concepts of Oops/collection framework should be clear.
Tip 3 : Array based program will be asked so have some hands-on.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
based on 2 interviews
Interview experience
based on 2 reviews
Rating in categories
Software Developer
5
salaries
| ₹1 L/yr - ₹3.2 L/yr |
Java Developer
5
salaries
| ₹1 L/yr - ₹2 L/yr |
Graphic Designer
5
salaries
| ₹1 L/yr - ₹3.3 L/yr |
Embedded Developer
5
salaries
| ₹1.6 L/yr - ₹2 L/yr |
Business Development Manager
4
salaries
| ₹2.8 L/yr - ₹6 L/yr |
JPMorgan Chase & Co.
Wells Fargo
Citicorp
HSBC Group