Add office photos
Employer?
Claim Account for FREE

Coupa Software Inc

3.8
based on 85 Reviews
Video summary
Filter interviews by

10+ Marriott International Interview Questions and Answers

Updated 27 Apr 2024

Q1. Which 2 methods must an object implement in order to be used as a key in hasmap and why

Ans.

The object must implement the hashCode() and equals() methods to be used as a key in a hashmap.

  • hashCode() method is used to generate a unique hash code for the object.

  • equals() method is used to compare two objects for equality.

  • Both methods are necessary for proper functioning of hashmap operations like put() and get().

View 1 answer

Q2. How to automate dynamic pages, find XPaths.

Ans.

Automating dynamic pages and finding XPaths involves using tools like Selenium and identifying unique attributes.

  • Use Selenium WebDriver to interact with dynamic elements on the page.

  • Identify unique attributes like IDs, classes, or other attributes to create stable XPaths.

  • Use relative XPaths to locate elements based on their relationship to other elements.

  • Regularly update and maintain XPaths to ensure they remain accurate as the page changes.

Add your answer

Q3. Is it preferable to use stringBuffer with its synchronized methods or stringBuilder when implementing toString() method? why?

Ans.

Use stringBuilder for toString() method as it is faster and not thread-safe.

  • stringBuilder is faster than stringBuffer as it is not thread-safe

  • toString() method is used for converting an object to a string

  • If thread-safety is required, use stringBuffer instead

  • Example: StringBuilder sb = new StringBuilder(); sb.append("Hello"); sb.append("World"); return sb.toString();

Add your answer

Q4. is it good idea to wrap java.io.FileInputStream and java.io.FileOutputStream in buffered writers and readers and why?

Ans.

Yes, it is a good idea to wrap FileInputStream and FileOutputStream in buffered writers and readers.

  • Buffered streams improve performance by reducing the number of I/O operations

  • Buffered streams also provide additional functionality like readLine() and newLine()

  • Buffered streams can be chained together for even better performance

  • Example: BufferedReader br = new BufferedReader(new FileReader(file));

Add your answer
Discover Marriott International interview dos and don'ts from real experiences

Q5. Write test case around a microservice which schedules messages.

Ans.

Test case for a microservice scheduling messages

  • Verify that messages are scheduled correctly based on specified time

  • Check if messages are sent to the correct recipients

  • Ensure that messages are not duplicated or lost during scheduling

Add your answer

Q6. Expalin Architecture of your product

Ans.

Our product follows a microservices architecture with a combination of front-end, back-end, and database layers.

  • Utilizes microservices architecture for scalability and flexibility

  • Front-end layer handles user interface and interactions

  • Back-end layer manages business logic and data processing

  • Database layer stores and retrieves data efficiently

  • Communication between layers is done through APIs

Add your answer
Are these interview questions helpful?

Q7. What is overloading and overriding

Ans.

Overloading is having multiple methods in the same class with the same name but different parameters. Overriding is implementing a method in a subclass that is already defined in the parent class.

  • Overloading allows a class to have multiple methods with the same name but different parameters.

  • Overriding involves implementing a method in a subclass that is already defined in the parent class.

  • Overloading is resolved at compile time while overriding is resolved at runtime.

Add your answer

Q8. Different type of testing

Ans.

Different types of testing include unit testing, integration testing, system testing, and acceptance testing.

  • Unit testing focuses on testing individual components or modules of the software.

  • Integration testing involves testing how different modules work together.

  • System testing tests the entire system as a whole.

  • Acceptance testing is done to ensure the software meets the requirements of the end users.

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. Explain Product

Ans.

A product is a tangible or intangible item that is created and offered for sale.

  • Products can be physical goods, such as electronics or clothing.

  • Products can also be services, such as software or consulting.

  • Products are designed to meet a specific need or want of a customer.

  • Products go through a lifecycle of development, launch, growth, maturity, and decline.

Add your answer

Q10. What is oops in java

Ans.

Object-oriented programming concepts in Java

  • OOPs stands for Object-Oriented Programming

  • It is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures

  • Encapsulation, Inheritance, Polymorphism, and Abstraction are the four main principles of OOPs in Java

  • Example: Class, Object, Inheritance, Polymorphism, Encapsulation

Add your answer

Q11. What is jvm in java

Ans.

JVM stands for Java Virtual Machine, which is an abstract computing machine that enables a computer to run Java programs.

  • JVM is responsible for converting Java bytecode into machine code that can be executed by the computer's processor.

  • It provides a platform-independent execution environment for Java programs.

  • JVM manages memory, handles garbage collection, and provides security features for Java applications.

  • Examples of JVM implementations include Oracle HotSpot, OpenJ9, and ...read more

Add your answer

Q12. Write rest APIs of project

Ans.

Develop REST APIs for project functionality

  • Define endpoints for different functionalities (e.g. GET /users, POST /users)

  • Implement CRUD operations using HTTP methods (GET, POST, PUT, DELETE)

  • Use proper authentication and authorization mechanisms (e.g. JWT tokens)

  • Handle error responses and status codes appropriately (e.g. 404 Not Found, 500 Internal Server Error)

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Marriott International

based on 21 interviews
Interview experience
4.0
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

4.0
 • 699 Interview Questions
3.6
 • 176 Interview Questions
4.2
 • 153 Interview Questions
4.1
 • 148 Interview Questions
3.3
 • 142 Interview Questions
View all
Top Coupa Software Inc Interview Questions And Answers
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

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