i
Mphasis
Filter interviews by
I applied via LinkedIn
Java code to reverse a string using StringBuilder
Create a StringBuilder object with the input string
Use the reverse() method of StringBuilder to reverse the string
Convert the reversed StringBuilder object back to a string using toString()
I applied via Naukri.com and was interviewed in Oct 2024. There were 2 interview rounds.
I applied via Campus Placement and was interviewed in Oct 2024. There was 1 interview round.
Pointer in C is a variable that stores the memory address of another variable.
Pointers are used to access and manipulate memory addresses directly.
They are denoted by an asterisk (*) before the variable name.
Example: int *ptr; // declares a pointer variable ptr of type int
Inheritance is a concept in object-oriented programming where a class inherits properties and behaviors from another class.
Allows a class to inherit attributes and methods from another class
Promotes code reusability and reduces redundancy
Creates a parent-child relationship between classes
Derived class can override or extend the functionality of the base class
What people are saying about Mphasis
I applied via Company Website and was interviewed in Oct 2024. There was 1 interview round.
Mphasis interview questions for popular designations
I applied via Naukri.com and was interviewed in Jun 2024. There was 1 interview round.
Handle exceptions globally in Springboot REST API
Use @ControllerAdvice annotation to define global exception handling for all controllers
Create a class annotated with @ControllerAdvice and define methods to handle specific exceptions
Use @ExceptionHandler annotation to specify which exceptions the method should handle
Return appropriate HTTP status codes and error messages in the exception handling methods
Microservices design pattern involves breaking down a large application into smaller, independent services.
Each microservice is responsible for a specific function or feature
Communication between microservices is typically done through APIs
Microservices can be deployed independently, allowing for easier scalability and maintenance
Examples include Netflix (uses microservices for different functionalities like recommenda...
Map method transforms each element in a stream, while flatMap method transforms each element into a stream and then flattens the result.
Map method applies a function to each element in the stream and returns a new stream with the transformed elements.
FlatMap method applies a function that returns a stream for each element in the original stream, then flattens these streams into a single stream.
Example: Using map to con...
Handling customized exceptions in controller advice with example code
Create a custom exception class that extends RuntimeException
Create a controller advice class to handle exceptions globally
Use @ExceptionHandler annotation in the controller advice class to handle specific exceptions
Return a custom error response with appropriate status code and message
The @SpringBootApplication annotation includes @Configuration, @EnableAutoConfiguration, and @ComponentScan annotations.
Includes @Configuration annotation to specify that the class can be used by the Spring IoC container as a source of bean definitions.
Includes @EnableAutoConfiguration annotation to enable Spring Boot's auto-configuration feature.
Includes @ComponentScan annotation to specify the base packages to scan f
Get interview-ready with Top Mphasis Interview Questions
I applied via Naukri.com and was interviewed in Aug 2024. There were 2 interview rounds.
Java, Appium, selenium basics
I was interviewed in Jan 2025.
To reverse a string stored in an array, iterate through each string and reverse it character by character.
Iterate through each string in the array
For each string, use a loop to reverse the characters
Store the reversed string back in the array
I am comfortable with policies but prefer flexibility in location constraints.
I believe policies are necessary for maintaining order and consistency in a work environment.
I am open to following company policies and procedures to ensure smooth operations.
I prefer flexibility in location constraints as it allows for a better work-life balance and increased productivity.
For example, remote work options can be beneficial f...
Yes, I am okay with joining Mphasis.
I am excited about the opportunity to work at Mphasis.
I have researched the company and am impressed with their work culture.
I am ready to contribute my skills and expertise to the team at Mphasis.
OOPs concepts in Spring Boot refer to the principles of Object-Oriented Programming applied in the development of Spring Boot applications.
Inheritance: Allows classes to inherit attributes and methods from other classes.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Polymorphism: Allows objects to be treated as instances of their parent class.
Abstraction: Hides the implementation d...
Docker is a platform for developing, shipping, and running applications in containers. Kubernetes is an open-source system for automating deployment, scaling, and management of containerized applications.
Docker allows developers to package applications and their dependencies into containers for easy deployment and scalability.
Kubernetes helps in automating the deployment, scaling, and management of containerized applic...
I applied via Company Website and was interviewed in Sep 2024. There were 2 interview rounds.
Mainly About Simple array question
I applied via Referral and was interviewed in Jul 2024. There was 1 interview round.
A framework is a set of guidelines, tools, and libraries used to develop and maintain software applications.
Provides structure and guidelines for development
Promotes code reusability and maintainability
Includes libraries and tools for common tasks
Supports automation and scalability
Examples: Selenium WebDriver for web automation, TestNG for test execution
Use two variables to keep track of the largest and second largest numbers in the array.
Iterate through the array and compare each element with the largest and second largest variables.
Update the variables accordingly to find the second largest number.
Return the second largest number once the iteration is complete.
The xpath of a product on Amazon can be found by inspecting the HTML code of the product page.
Right click on the product on Amazon and select 'Inspect' to view the HTML code
Locate the unique identifier of the product, such as class name or id
Construct the xpath using the unique identifier and other relevant attributes
Object-oriented programming concept in Java
Encapsulation: bundling data and methods that operate on the data
Inheritance: creating new classes using existing classes
Polymorphism: ability to present the same interface for different data types
Some of the top questions asked at the Mphasis interview -
The duration of Mphasis interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 666 interviews
Interview experience
based on 8.3k reviews
Rating in categories
Software Engineer
6.3k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
5.6k
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Software Engineer
4.7k
salaries
| ₹0 L/yr - ₹0 L/yr |
Module Lead
2.4k
salaries
| ₹0 L/yr - ₹0 L/yr |
Transaction Processing Officer
2.3k
salaries
| ₹0 L/yr - ₹0 L/yr |
Cognizant
Wipro
Accenture
TCS