Upload Button Icon Add office photos

Filter interviews by

Mphasis Java Developer Interview Questions and Answers

Updated 21 Aug 2024

Mphasis Java Developer Interview Experiences

8 interviews found

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
-
Result
-

I was interviewed in Jul 2024.

Round 1 - Technical 

(2 Questions)

  • Q1. Use of functional interface
  • Ans. 

    Functional interfaces in Java are interfaces with only one abstract method, used for lambda expressions and method references.

    • Functional interfaces can be used with lambda expressions and method references to provide implementation for the single abstract method.

    • Examples of functional interfaces in Java include Runnable, Callable, and Comparator.

    • Functional interfaces can also have default and static methods in addition

  • Answered by AI
  • Q2. Can you use same static method in two different interface
  • Ans. 

    No, static methods cannot be overridden in interfaces.

    • Static methods in interfaces are implicitly public and abstract, so they cannot be overridden.

    • If two interfaces have the same static method signature, it will not cause any conflict.

    • Implementing classes will have to provide their own implementation of the static method.

  • Answered by AI

Skills evaluated in this interview

Interview experience
1
Bad
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Not Selected

I applied via Approached by Company and was interviewed in Sep 2023. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. Reverse string Java code
  • Q2. Java 8 features

Interview Preparation Tips

Topics to prepare for Mphasis Java Developer interview:
  • Java 8
  • Java code
  • Core Java
  • SQL
Interview preparation tips for other job seekers - Just give your best and do not expect any revert from HR.
Right one will approach you.
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Approached by Company and was interviewed before Mar 2023. There were 3 interview rounds.

Round 1 - Aptitude Test 

Java Full stack 180 min

Round 2 - Technical 

(2 Questions)

  • Q1. Java Oops concept
  • Q2. Self Introduction
Round 3 - HR 

(1 Question)

  • Q1. About company details and policies
Round 1 - One-on-one 

(1 Question)

  • Q1. OOP's Concept Exception handling Difference between abstraction and interface spring boot features Program to reverse string without reversing words Program to move zeros in array to end of the arr...

Interview Preparation Tips

Interview preparation tips for other job seekers - Give your best. Do not settle for least. Everyday there's something new to learn. Just go for it.

Mphasis interview questions for designations

 Senior Java Developer

 (2)

 Java Programmer

 (1)

 Java Software Engineer

 (1)

 Java Technical Lead

 (1)

 Developer

 (2)

 Software Developer

 (19)

 Mainframe Developer

 (4)

 IOS Developer

 (1)

Interview Questionnaire 

5 Questions

  • Q1. About java collection api
  • Q2. String in java
  • Ans. 

    String is a class in Java used to represent a sequence of characters.

    • Strings are immutable in Java

    • String objects can be created using string literals or the new keyword

    • String class provides various methods for manipulating strings such as substring, replace, etc.

  • Answered by AI
  • Q3. Restful webservices , spring MVC flow, spring data, security in rest API.
  • Q4. Java8 new features ,stream api, lambda expression,
  • Q5. JSON, HashMap and HashTable, design pattern

Skills evaluated in this interview

I applied via Naukri.com and was interviewed before Sep 2020. There was 1 interview round.

Interview Preparation Tips

Interview preparation tips for other job seekers - Java basic interview questions

Java Developer interview

user image AG Tech

posted on 20 Nov 2021

Java Developer interview

user image AS Learning

posted on 20 Nov 2021

Interview questions from similar companies

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Walk-in and was interviewed in Nov 2024. There were 3 interview rounds.

Round 1 - Coding Test 

It's walkin, so they conducted 1 technical mcqs round.

Round 2 - Technical 

(11 Questions)

  • Q1. Multi threading
  • Q2. Internal working of hashmap
  • Ans. 

    HashMap in Java is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values based on keys.

    • HashMap uses an array of buckets to store key-value pairs.

    • Keys are hashed to determine the index in the array where the key-value pair will be stored.

    • In case of hash collisions, a linked list or a balanced tree is used to store multiple key-value pairs in the same bucket.

    • HashMap allows null keys...

  • Answered by AI
  • Q3. Spring batch related
  • Q4. Non repeating characters in a array
  • Ans. 

    Function to find and return all non-repeating characters in an array of strings.

    • Iterate through the array and count the occurrences of each character using a HashMap.

    • Then iterate through the array again and check if the count of each character is 1, if so add it to the result list.

    • Return the list of non-repeating characters.

  • Answered by AI
  • Q5. 3rd highest salary
  • Ans. 

    To find the 3rd highest salary in a database, we can use a SQL query with the 'LIMIT' and 'OFFSET' keywords.

    • Use a SQL query with 'ORDER BY salary DESC' to sort the salaries in descending order.

    • Use 'LIMIT 1 OFFSET 2' to skip the first two highest salaries and retrieve the third highest salary.

    • Example: SELECT salary FROM employees ORDER BY salary DESC LIMIT 1 OFFSET 2;

  • Answered by AI
  • Q6. Qualifier vs primary
  • Ans. 

    A qualifier in Java is used to specify additional information about a primary, which is the main data type or variable.

    • A primary in Java is the main data type or variable, while a qualifier provides additional information about the primary.

    • Qualifiers can be used to modify the behavior or characteristics of a primary.

    • For example, in Java, 'final' is a qualifier that can be used to make a variable constant.

  • Answered by AI
  • Q7. Controller vs restcontroller
  • Ans. 

    The main difference is that @RestController is a specialized version of @Controller that is used for RESTful web services.

    • Both @Controller and @RestController are used in Spring MVC to handle HTTP requests, but @RestController is specifically used for RESTful web services.

    • @Controller is used to create web pages, while @RestController is used to return data in JSON or XML format.

    • @RestController is a convenience annotati...

  • Answered by AI
  • Q8. Spring boot annotataions
  • Q9. Oops concepts with examples
  • Ans. 

    OOP concepts include inheritance, encapsulation, polymorphism, and abstraction.

    • Inheritance: Allows a class to inherit properties and behavior from another class. Example: class Dog extends Animal.

    • Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: private variables with public getter and setter methods.

    • Polymorphism: Ability for objects to be treated as instances of their paren...

  • Answered by AI
  • Q10. Spring batch configuration
  • Q11. They covered all java, spring and Microservices
Round 3 - Technical 

(4 Questions)

  • Q1. Microservices architecture
  • Q2. How do Microservices communicate
  • Ans. 

    Microservices communicate with each other through various communication protocols like HTTP, messaging queues, and gRPC.

    • Microservices can communicate over HTTP using RESTful APIs.

    • Messaging queues like RabbitMQ or Kafka can be used for asynchronous communication between microservices.

    • gRPC is a high-performance, open-source RPC framework that can be used for communication between microservices.

    • Service discovery mechanism...

  • Answered by AI
  • Q3. How to access the Microservice end point
  • Ans. 

    Microservice endpoints can be accessed using HTTP requests with the appropriate URL

    • Use HTTP methods like GET, POST, PUT, DELETE to interact with the microservice

    • Construct the URL with the base URL of the microservice and the specific endpoint path

    • Include any necessary headers or parameters in the request for authentication or data filtering

  • Answered by AI
  • Q4. Why we use microservices
  • Ans. 

    Microservices allow for modular, scalable, and flexible software development by breaking down applications into smaller, independent services.

    • Microservices enable easier maintenance and updates as each service can be developed, deployed, and scaled independently.

    • They improve fault isolation, as failures in one service do not necessarily affect the entire application.

    • Microservices promote agility and faster time-to-mark...

  • Answered by AI

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Explain architecture of your project
  • Q2. Some questions on Java, Spring Boot and sql
Round 2 - Technical 

(2 Questions)

  • Q1. Project flow and some behavioural questions
  • Q2. Project contribution of yours
  • Ans. 

    Developed a web application for tracking employee attendance and performance

    • Implemented user authentication and authorization using Spring Security

    • Utilized Hibernate for database interaction and data persistence

    • Designed and developed RESTful APIs for frontend integration

    • Used AngularJS for frontend development to create interactive user interfaces

  • Answered by AI
Round 3 - HR 

(1 Question)

  • Q1. Basic formalities before offer release

Interview Preparation Tips

Interview preparation tips for other job seekers - Understand your project properly and have your basic of programming very clear

Mphasis Interview FAQs

How many rounds are there in Mphasis Java Developer interview?
Mphasis interview process usually has 1-2 rounds. The most common rounds in the Mphasis interview process are Technical, Aptitude Test and HR.
How to prepare for Mphasis Java Developer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Mphasis. The most common topics and skills that interviewers at Mphasis expect are Java, Spring Boot, Microservices, Hibernate and Spring.
What are the top questions asked in Mphasis Java Developer interview?

Some of the top questions asked at the Mphasis Java Developer interview -

  1. Can you use same static method in two different interf...read more
  2. String in j...read more
  3. Use of functional interf...read more

Tell us how to improve this page.

Mphasis Java Developer Interview Process

based on 3 interviews in last 1 year

Interview experience

2.7
  
Poor

People are getting interviews through

based on 3 Mphasis interviews
Job Portal
33%
67% candidates got the interview through other sources.
Moderate Confidence
?
Moderate Confidence means the data is based on a sufficient number of responses received from the candidates
Mphasis Java Developer Salary
based on 259 salaries
₹2 L/yr - ₹8.5 L/yr
21% less than the average Java Developer Salary in India
View more details

Mphasis Java Developer Reviews and Ratings

based on 20 reviews

3.7/5

Rating in categories

3.4

Skill development

3.7

Work-Life balance

3.2

Salary & Benefits

3.4

Job Security

3.4

Company culture

3.2

Promotions/Appraisal

3.6

Work Satisfaction

Explore 20 Reviews and Ratings
Software Engineer
6.2k salaries
unlock blur

₹2 L/yr - ₹11 L/yr

Senior Software Engineer
5.6k salaries
unlock blur

₹6 L/yr - ₹23 L/yr

Associate Software Engineer
4.5k salaries
unlock blur

₹2 L/yr - ₹6.4 L/yr

Module Lead
2.4k salaries
unlock blur

₹8 L/yr - ₹33 L/yr

Transaction Processing Officer
2.3k salaries
unlock blur

₹1.4 L/yr - ₹4.5 L/yr

Explore more salaries
Compare Mphasis with

Cognizant

3.8
Compare

Wipro

3.7
Compare

Accenture

3.9
Compare

TCS

3.7
Compare

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Did you find this page helpful?
Yes No
write
Share an Interview