The interview went well overall.
The interviewer started by asking basic Java-related questions, covering fundamental concepts such as data types, collections, and exception handling. They also tested my understanding of OOPs (Object-Oriented Programming) concepts, including encapsulation, inheritance, polymorphism, and abstraction, along with real-world examples to demonstrate how these principles are applied in practice.
Next, there were a few questions about the Spring framework. They focused on Spring Boot annotations, dependency injection, and the difference between @Component, @Service, and @Repository. They also inquired about Spring Data JPA and how to handle transactions effectively.
Additionally, the interviewer presented two output-based questions. I had to analyze small code snippets and predict the output. These questions tested my understanding of Java syntax, control flow, and tricky edge cases.
Finally, there was one algorithm-based coding question, which required me to write an efficient solution. It tested my problem-solving skills and knowledge of data structures and algorithms. The problem involved array manipulation and optimal search techniques, where I had to focus on both correctness and performance optimization.
Overall, the interview was a good mix of theoretical and practical questions, covering core Java, the Spring framework, and problem-solving abilities.
The difference between @Component, @Service, and @Repository
The following metrics were computed from 6 interview experiences for the Morgan Stanley Senior Java Developer role in Mumbai, Maharashtra.
Morgan Stanley's interview process for their Senior Java Developer roles in Mumbai, Maharashtra is extremely selective, failing the vast majority of engineers.
Candidates reported having very good feelings for Morgan Stanley's Senior Java Developer interview process in Mumbai, Maharashtra.