Upload Button Icon Add office photos

Morgan Stanley

Compare button icon Compare button icon Compare

Filter interviews by

Morgan Stanley Java Developer Interview Questions, Process, and Tips

Updated 26 Oct 2024

Top Morgan Stanley Java Developer Interview Questions and Answers

  • Q1. Max Element After Update Operations Given an array A of size N , initialized with all zeros, and another array ARR of M pairs of integers representing operations. Each o ...read more
  • Q2. Why do we need to override the equals and hashCode methods in Java?
  • Q3. How can you print even and odd numbers in increasing order using two threads in Java?
View all 7 questions

Morgan Stanley Java Developer Interview Experiences

4 interviews found

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Company Website and was interviewed in Sep 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. Quick sort - keep order same
  • Q2. Reverse string with spaces but keep the space position intact
  • Ans. 

    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

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Study DSA properly and java basics - immutable class cases
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
Not Selected

I applied via Naukri.com and was interviewed in Jan 2024. There was 1 interview round.

Round 1 - Coding Test 

Round 1 was an online hackerank coding test + technical MCQs.

It consisted of 5 MCQs + 1 SQL problem + 1 DSA problem based on queue + 1 Graph question + 1 java based question to create a REST API.

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare well for any type of DSA problems for level medium to difficult.

Java Developer Interview Questions Asked at Other Companies

asked in Deloitte
Q1. Sort 0 and 1 Problem Statement Given an integer array ARR of size ... read more
Q2. Parent class has run() and walk() . Parent run() - calls walk() C ... read more
asked in LTIMindtree
Q3. Longest Harmonious Subsequence Problem Statement Determine the lo ... read more
asked in Infosys
Q4. Which should be preferred between String and StringBuffer when th ... read more
asked in Deloitte
Q5. Convert BST to Greater Sum Tree Given a Binary Search Tree (BST) ... read more

I was interviewed in Oct 2021.

Round 1 - Video Call 

(3 Questions)

Round duration - 60 minutes
Round difficulty - Easy

Technical Interview round with questions on DSA and Java.

  • Q1. 

    Max Element After Update Operations

    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...

  • Q2. Can you explain the internal working of a hash map in Java?
  • Q3. Why do we need to override the equals and hashCode methods in Java?
Round 2 - Video Call 

(3 Questions)

Round duration - 60 minutes
Round difficulty - Medium

Technical Interview round with questions based around Java.

  • Q1. How can you print even and odd numbers in increasing order using two threads in Java?
  • Q2. What is the internal working of a CopyOnWrite ArrayList?
  • Q3. What are the differences between Synchronized Collection and Concurrent Collection in Java?

Interview Preparation Tips

Eligibility criteriaAbove 7 CGPAMorgan Stanley interview preparation:Topics to prepare for the interview - Java, Data Structures, Algorithms, System Design, OOPSTime required to prepare for the interview - 4 monthsInterview preparation tips for other job seekers

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.

Application resume tips for other job seekers

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.

Final outcome of the interviewRejected

Skills evaluated in this interview

Java Developer interview

user image AG Tech

posted on 27 Nov 2021

Morgan Stanley interview questions for designations

 Senior Java Developer

 (2)

 Java Software Developer

 (1)

 Junior Java Developer

 (1)

 Java Full Stack Developer

 (1)

 Java Technical Lead

 (1)

 Software Developer

 (18)

 Senior Developer

 (2)

 Backend Developer

 (1)

Interview questions from similar companies

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(4 Questions)

  • Q1. Java streams on students
  • Q2. Select 8 form A,A
  • Q3. Basic java questions
  • Q4. Hibernate questions and database questions
Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Indeed and was interviewed in Jul 2024. There was 1 interview round.

Round 1 - Technical 

(6 Questions)

  • Q1. Stringbuilder and string buffer diff
  • Q2. Where we store the object of string
  • Ans. 

    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.

  • Answered by AI
  • Q3. What is bean in springboot
  • Ans. 

    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

  • Answered by AI
  • Q4. What is query parameters and path param
  • Ans. 

    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}

  • Answered by AI
  • Q5. Code snippet related to exception
  • Q6. Diff between exception and error
  • Ans. 

    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

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Indeed and was interviewed in Feb 2024. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. 1) How do you achieve concurrency in your current job, and write code for it? 2) Write code for Rest API using Springboot, need to write Entity, Service, Repository, and Controller classes? 3)Volatile keyw...
  • Ans. 

    Answers to common Java Developer interview questions

    • 1) Concurrency is achieved using multithreading in Java. Use threads, executors, or synchronized blocks. Example: using ExecutorService to run multiple tasks concurrently.

    • 2) Rest API in Springboot: Entity class defines database table, Service class contains business logic, Repository class interacts with database, Controller class handles HTTP requests.

    • 3) Volatile key...

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Citicorp Java Developer interview:
  • exception handlin
  • multithreading
  • Springboot

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Oct 2023. There were 2 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Technical 

(6 Questions)

  • Q1. Java 8 features, functional Interfaces and predefined functional interfaces, Streams
  • Q2. Collections, Aggregations, solid principles in Java
  • Q3. Design patterns, singleton and factory explain in detail
  • Ans. 

    Design patterns are reusable solutions to common problems in software design. Singleton ensures a class has only one instance, while factory creates objects without specifying the exact class.

    • Design patterns are best practices for solving common software design problems.

    • Singleton pattern ensures a class has only one instance and provides a global point of access to it.

    • Factory pattern creates objects without specifying ...

  • Answered by AI
  • Q4. Spring functions, Spring Runners, Spring Exception handling
  • Q5. Springboot annotations except common(any 5)
  • Q6. Write spring boot program to accept json as request. write the logic and explain
  • Ans. 

    Create a Spring Boot program to accept JSON requests and process the data.

    • Create a Spring Boot application with a REST controller to handle incoming JSON requests.

    • Use @PostMapping annotation to map the endpoint for accepting JSON requests.

    • Use @RequestBody annotation to bind the incoming JSON data to a Java object.

    • Process the JSON data as needed in the controller method.

    • Return a response as JSON if required.

  • Answered by AI

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

3 coding questions were given and to be solved only in java

I applied via Company Website and was interviewed in May 2022. There were 2 interview rounds.

Round 1 - Coding Test 

Java coding and apptitude questions

Round 2 - HR 

(2 Questions)

  • Q1. Tell me about project
  • Ans. 

    I worked on a project to develop a web application for an e-commerce company.

    • Developed the front-end using HTML, CSS, and JavaScript

    • Implemented the back-end using Java and Spring framework

    • Integrated payment gateway and order management system

    • Optimized database queries for improved performance

  • Answered by AI
  • Q2. Tell about previous company
  • Ans. 

    I worked at XYZ Company as a Java Developer.

    • Developed and maintained Java applications for XYZ Company.

    • Collaborated with a team of developers to implement new features and fix bugs.

    • Used Java frameworks like Spring and Hibernate to build robust and scalable applications.

    • Worked on database design and optimization using SQL.

    • Participated in code reviews and provided feedback to improve code quality.

    • Implemented unit tests t...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - It's a good opportunity and interview was good hr was gentle

Morgan Stanley Interview FAQs

How many rounds are there in Morgan Stanley Java Developer interview?
Morgan Stanley interview process usually has 1 rounds. The most common rounds in the Morgan Stanley interview process are Coding Test and Technical.
How to prepare for Morgan Stanley Java Developer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Morgan Stanley. The most common topics and skills that interviewers at Morgan Stanley expect are Investment Banking, Financial Services, Core Java, Unix and Wealth Management.
What are the top questions asked in Morgan Stanley Java Developer interview?

Some of the top questions asked at the Morgan Stanley Java Developer interview -

  1. Reverse string with spaces but keep the space position int...read more
  2. Quick sort - keep order s...read more

Tell us how to improve this page.

Morgan Stanley Java Developer Interview Process

based on 2 interviews

Interview experience

3.5
  
Good
View more
Morgan Stanley Java Developer Salary
based on 41 salaries
₹8 L/yr - ₹29.8 L/yr
229% more than the average Java Developer Salary in India
View more details
Associate
3.1k salaries
unlock blur

₹5.2 L/yr - ₹20 L/yr

Senior Manager
2.4k salaries
unlock blur

₹16 L/yr - ₹56 L/yr

Manager
1.9k salaries
unlock blur

₹10.7 L/yr - ₹42 L/yr

Senior Associate
1.5k salaries
unlock blur

₹7.1 L/yr - ₹26.2 L/yr

Vice President
1.3k salaries
unlock blur

₹22 L/yr - ₹80 L/yr

Explore more salaries
Compare Morgan Stanley with

JPMorgan Chase & Co.

4.0
Compare

Goldman Sachs

3.5
Compare

TCS

3.7
Compare

Deloitte

3.8
Compare
Did you find this page helpful?
Yes No
write
Share an Interview