First, I received a link from Morgan Stanley for the HackerRank exam. All of the questions were on Java, and one question was on Data Structures.
Then, I received a call from HR stating that I had cleared the test.
Next, I went through technical interviews, where I was rejected.
They asked questions on Java concepts like:
They will show you code snippets, and you'll have to tell the output. With that, you'll have to discuss the above topics in depth with the interviewer. They will usually ask edge cases.
Ex: What if we implement two interfaces having the same name and the same signature for a default method? How to solve this problem?
Ex2: Why can we create a constructor in an abstract class, but we cannot initialize it? Why did Java introduce this?
Ex3: What if we override the equals method and the hashCode method? What if we are returning the same value from hashCode and always returning false from equals?
Ex4: If in a class there are two different methods with two synchronized blocks and two threads are accessing different methods, what will happen? Who will wait?
One question on Arrays: Given two arrays, find common numbers in them and return them in the form of an ArrayList.
SQL: Given City and School tables, print cities and the count of schools in those cities where the count is more than 10.
The following metrics were computed from 3 interview experiences for the Morgan Stanley Software Engineer - Java Developer role in Bengaluru, Karnataka.
Morgan Stanley's interview process for their Software Engineer - Java Developer roles in Bengaluru, Karnataka is extremely selective, failing the vast majority of engineers.
Candidates reported having mixed feelings for Morgan Stanley's Software Engineer - Java Developer interview process in Bengaluru, Karnataka.