Add office photos
Engaged Employer

JPMorgan Chase & Co.

4.1
based on 5.8k Reviews
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by

20+ ClassMonitor Interview Questions and Answers

Updated 19 Sep 2024
Popular Designations
Q1. Excel Column Number

You have been given a column title as appears in an Excel sheet, return its corresponding column number.

For example:
A -> 1 B -> 2 C -> 3 ... Z -> 26 AA -> 27 AB -> 28 ... 
Input Format
The ...read more
View 2 more answers
Q2. LRU Cache Implementation

Design and implement a data structure for Least Recently Used (LRU) cache to support the following operations:

1. get(key) - Return the value of the key if the key exists in the cache, o...read more
View 3 more answers
Q3. Java Question

What is the lambda expression in Java and How does a lambda expression relate to a functional interface?

Add your answer
Q4. SpringBoot Question

What do you understand by auto wiring and name the different modes of it?

Add your answer
Discover ClassMonitor interview dos and don'ts from real experiences
Q5. Java Question

What is the start() and run() method of Thread class?

Add your answer
Q6. SpringBoot Question

What does the @SpringBootApplication annotation do internally?

Add your answer
Are these interview questions helpful?
Q7. SpringBoot Question

What Are the Basic Annotations that Spring Boot Offers?

Add your answer
Q8. Java Question

Differentiate between the Thread class and Runnable interface for creating a Thread?

Add your answer
Share interview questions and help millions of jobseekers 🌟
Q9. OOPS Question

What is Garbage collector in JAVA?

Add your answer
Q10. Java Question

What are Java 8 streams?

Add your answer
Q11. System Design Question

Design a URL Shortener

Add your answer
Q12. Java Question

What is Thread in Java?

Add your answer
Q13. OOPS Question

Explain SOLID principles in Object Oriented Design .

Add your answer
Q14. OOPS Question

Difference between Abstract class and Interface.

Add your answer

Q15. Accumulators in spark python sum of odd places in list Partition and bucketing

Ans.

Spark accumulators are used to accumulate values across multiple tasks in a distributed manner.

  • Accumulators are used to accumulate values across multiple tasks in a distributed manner

  • They are used to implement counters and sums in Spark

  • Accumulators are read-only variables that can only be updated by an associative and commutative operation

  • Partitioning is the process of dividing a large dataset into smaller, more manageable pieces

  • Bucketing is a technique used to group data int...read more

Add your answer

Q16. What are virtual functions? What is vTable, vPtr? Different types of smart pointers. Exception handling

Ans.

Virtual functions are functions that can be overridden in derived classes. vTable is a lookup table used to resolve virtual function calls.

  • Virtual functions allow polymorphism and dynamic binding

  • vTable is a table of function pointers used to resolve virtual function calls

  • vPtr is a pointer to the vTable of an object

  • Smart pointers are objects that manage the lifetime of dynamically allocated memory

  • Types of smart pointers include unique_ptr, shared_ptr, and weak_ptr

  • Exception han...read more

Add your answer

Q17. Internal working of string intern

Ans.

String intern is a method in Java that returns a canonical representation of a string object.

  • String intern() method returns a canonical representation for the string object.

  • If a string with the same contents is already in the string pool, then it returns the reference to that string.

  • If not present, it adds the string to the pool and returns the reference.

Add your answer

Q18. Multithreading [Threads vs Processes]

Ans.

Threads are lightweight processes within a single process, sharing memory space. Processes are independent instances of a program.

  • Threads share memory space, making communication between threads faster and more efficient.

  • Processes have their own memory space, making them more isolated and secure.

  • Threads are faster to create and terminate compared to processes.

  • Processes are more stable and reliable, as a crash in one process does not affect others.

  • Threads are suitable for task...read more

Add your answer

Q19. Transaction management in Java

Ans.

Transaction management in Java involves managing database transactions to ensure data integrity and consistency.

  • Use JDBC or JPA for transaction management

  • Begin a transaction with 'beginTransaction()' method

  • Commit the transaction with 'commit()' method

  • Rollback the transaction with 'rollback()' method

Add your answer

Q20. Api design using Spring boot

Ans.

Api design using Spring boot involves creating RESTful APIs with Spring framework for efficient communication between client and server.

  • Use @RestController annotation to define RESTful web services

  • Utilize @RequestMapping annotation to map HTTP requests to specific handler methods

  • Implement request and response bodies using @RequestBody and @ResponseBody annotations

  • Leverage Spring Boot's auto-configuration and embedded server for easy deployment

Add your answer

Q21. Design patterns and its usages

Ans.

Design patterns are reusable solutions to common problems in software design.

  • Design patterns help in creating flexible, maintainable, and scalable software.

  • Some common design patterns include Singleton, Factory, Observer, and Strategy.

  • Each design pattern has a specific purpose and can be applied in different scenarios.

  • Understanding design patterns can improve code quality and make development more efficient.

Add your answer

Q22. Explain Solid principles

Ans.

SOLID principles are a set of five design principles that help in creating maintainable and scalable software applications.

  • S - Single Responsibility Principle (SRP)

  • O - Open-Closed Principle (OCP)

  • L - Liskov Substitution Principle (LSP)

  • I - Interface Segregation Principle (ISP)

  • D - Dependency Inversion Principle (DIP)

Add your answer

Q23. Internal working of hashMap

Ans.

HashMap is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values.

  • 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 determine the index in the array where it will be stored.

  • If multiple keys hash to the same index, a collision occurs and the key-value pairs are stored in a linked list at that index.

  • To retrieve a value, the key is hashed again to find the index and...read more

Add your answer

Q24. oops concepts in depth

Ans.

Object-oriented programming principles for organizing and designing code.

  • Encapsulation: Bundling data and methods that operate on the data into a single unit.

  • Inheritance: Allowing a class to inherit properties and behavior from another class.

  • Polymorphism: Ability for objects to take on multiple forms or types.

  • Abstraction: Hiding complex implementation details and showing only necessary features.

Add your answer

Q25. current project

Ans.

Currently working on developing a web-based project management tool for a tech startup.

  • Utilizing React for front-end development

  • Implementing Node.js for back-end functionality

  • Integrating MongoDB for database management

Add your answer

Q26. rotate a 2-D matrix

Ans.

Rotate a 2-D matrix

  • Iterate through each layer of the matrix

  • For each layer, swap the elements in a cyclic manner

  • Repeat the process for all layers until the entire matrix is rotated

Add your answer

More about working at JPMorgan Chase & Co.

Top Rated Mega Company - 2024
Top Rated Company for Women - 2024
Top Rated Financial Services Company - 2024
HQ - New York, New York, United States (USA)
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at ClassMonitor

based on 10 interviews in the last 1 year
2 Interview rounds
Coding Test Round
Technical Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Senior Software Engineer Interview Questions from Similar Companies

3.7
 • 86 Interview Questions
3.8
 • 26 Interview Questions
3.8
 • 20 Interview Questions
4.1
 • 17 Interview Questions
4.3
 • 12 Interview Questions
3.8
 • 12 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter