Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Tech Mahindra Team. If you also belong to the team, you can get access from here

Tech Mahindra Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Tech Mahindra Senior Java Developer Interview Questions, Process, and Tips

Updated 10 Sep 2024

Top Tech Mahindra Senior Java Developer Interview Questions and Answers

View all 6 questions

Tech Mahindra Senior Java Developer Interview Experiences

5 interviews found

Senior Java Developer Interview Questions & Answers

user image Abhishek Tamakuwala

posted on 10 Sep 2024

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

(2 Questions)

  • Q1. What is final and finally
  • Ans. 

    final is a keyword in Java used to declare constants, while finally is a block used in exception handling to ensure code is executed regardless of an exception.

    • final keyword is used to declare constants in Java

    • final variables cannot be reassigned once initialized

    • finally block is used in exception handling to ensure code is executed regardless of an exception

    • finally block is often used to release resources like closing

  • Answered by AI
  • Q2. Brief description about the last project
  • Ans. 

    Developed a web application for a financial institution to manage customer accounts and transactions.

    • Used Java Spring framework for backend development

    • Implemented RESTful APIs for communication between frontend and backend

    • Utilized Hibernate for database interaction

    • Integrated third-party payment gateway for transactions

  • Answered by AI

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(1 Question)

  • Q1. What is flatMap in java 8?
  • Ans. 

    flatMap in Java 8 is a method used to transform each element of a stream into another stream and then concatenate all the streams into a single stream.

    • flatMap is used to flatten nested collections in streams.

    • It is commonly used with streams of collections or arrays.

    • Example: List<List<Integer>> list = Arrays.asList(Arrays.asList(1, 2), Arrays.asList(3, 4)); list.stream().flatMap(Collection::stream).forEach(Syst

  • Answered by AI

Skills evaluated in this interview

Senior Java Developer Interview Questions Asked at Other Companies

asked in Amdocs
Q1. Remove the Kth Node from the End of a Linked List You are given a ... read more
asked in Amdocs
Q2. Intersection of Linked List Problem You are provided with two sin ... read more
asked in Amdocs
Q3. Merge Two Sorted Linked Lists Problem Statement You are provided ... read more
asked in Amdocs
Q4. LRU Cache Design Question Design a data structure for a Least Rec ... read more
asked in Amdocs
Q5. Why is Java considered platform-independent while the Java Virtua ... read more
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Company Website and was interviewed in Jun 2023. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Coding Test 

Medium level Strings and Array questions

Round 3 - Technical 

(2 Questions)

  • Q1. Find LCA of a node in BST
  • Ans. 

    LCA of a node in BST is the lowest common ancestor of two nodes in a binary search tree.

    • Traverse the BST from the root node to find the LCA of the given nodes.

    • Compare the values of the nodes with the current node to determine the LCA.

    • If one node is on the left subtree and the other is on the right subtree, the current node is the LCA.

  • Answered by AI
  • Q2. Optimise the above solution
  • Ans. 

    Optimize the solution by using efficient data structures and algorithms.

    • Use HashMap instead of ArrayList for faster lookup

    • Implement caching to store previously calculated results

    • Consider using multithreading for parallel processing

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Good DSA is required

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via LinkedIn and was interviewed in Feb 2023. There were 2 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Technical 

(2 Questions)

  • Q1. In java How hasmap works internally
  • Ans. 

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

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

    • The hash code of the key is used to determine the index of the bucket

    • If multiple keys have the same hash code, they are stored in a linked list within the bucket

    • HashMap allows null keys and values

    • HashMap is not thread-safe and requires synchronization for concurrent access

  • Answered by AI
  • Q2. Write program in java to print even no by one thread and odd no by another thread
  • Ans. 

    Program to print even and odd numbers using two threads in Java

    • Create two threads, one for even numbers and one for odd numbers

    • Use a loop to generate numbers and check if they are even or odd

    • Print the numbers using the respective threads

    • Use synchronization to ensure alternate printing of even and odd numbers

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - keep learning new technologies, which will help you in interview.

Skills evaluated in this interview

Tech Mahindra interview questions for designations

 Java Developer

 (21)

 Java Software Developer

 (3)

 Java Spring Developer

 (1)

 Java J2ee Developer

 (1)

 Fullstack Java Developer

 (1)

 Java Trainer & Developer

 (1)

 Java Trainee

 (1)

 Senior Developer

 (3)

I applied via Walk-in and was interviewed before Apr 2021. There was 1 interview round.

Round 1 - HR 

(6 Questions)

  • Q1. What are your salary expectations?
  • Ans. 

    Starting as 25,000 in my hands

  • Answered by Sarfraj Mulani
  • Q2. What is your family background?
  • Q3. Share details of your previous job.
  • Q4. What are your strengths and weaknesses?
  • Q5. Tell me about yourself.
  • Q6. Why should we hire you?

Interview Preparation Tips

Topics to prepare for Tech Mahindra Senior Java Developer interview:
  • Core Java
  • Advanced Java
Interview preparation tips for other job seekers - I have need for a job. Also I have prove to itself

Get interview-ready with Top Tech Mahindra Interview Questions

Interview questions from similar companies

Interview Questionnaire 

1 Question

  • Q1. In 1st round they asked aptitude questions And 2nd round was an technical hr interview in this they asked oops concepts and basic C programming

I applied via Naukri.com and was interviewed before Jul 2018. There were 2 interview rounds.

Interview Preparation Tips

Round: Test
Experience: HackerRank test

General Tips: First round was scheduled for 10:30 but i got late and reached 11:45 at location.
That was not a problem for them because first round was system interview so after waitinf for 10 minutes only i got my turn and i went for sytem test.
2 hacker rank questions were there so if you are going for Mindtree practice hackerrank question.
Skills: Problem Solving, Time Management
Duration: <1 week

Interview Questionnaire 

1 Question

  • Q1. Questions Based on basic algorithm and Oops concept

Interview Questionnaire 

1 Question

  • Q1. In C# --> Abstraction, Interface , Abstract Method, Abstract Class, Polymorphisms, Encapsulation ,Inheritance, Serialization,
  • Ans. 

    C# concepts including abstraction, interface, abstract method, abstract class, polymorphism, encapsulation, inheritance, and serialization.

    • Abstraction: hiding implementation details

    • Interface: defining a contract for behavior

    • Abstract method: method without implementation

    • Abstract class: class with one or more abstract methods

    • Polymorphism: ability of objects to take on multiple forms

    • Encapsulation: bundling data and behavi...

  • Answered by AI

Skills evaluated in this interview

I applied via Walk-in and was interviewed before Dec 2020. There were 3 interview rounds.

Interview Questionnaire 

3 Questions

  • Q1. Basic Programming questions.
  • Q2. Fibonacci program
  • Q3. OOPS concepts.

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare basic OOPS concepts and basic programs.

Tech Mahindra Interview FAQs

How many rounds are there in Tech Mahindra Senior Java Developer interview?
Tech Mahindra interview process usually has 1-2 rounds. The most common rounds in the Tech Mahindra interview process are Technical, Resume Shortlist and HR.
How to prepare for Tech Mahindra Senior 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 Tech Mahindra. The most common topics and skills that interviewers at Tech Mahindra expect are Java, Spring Boot, Microservices, Spring and Hibernate.
What are the top questions asked in Tech Mahindra Senior Java Developer interview?

Some of the top questions asked at the Tech Mahindra Senior Java Developer interview -

  1. write program in java to print even no by one thread and odd no by another thre...read more
  2. In java How hasmap works interna...read more
  3. What is flatMap in java...read more

Tell us how to improve this page.

Tech Mahindra Senior Java Developer Interview Process

based on 4 interviews

Interview experience

4
  
Good
View more
Tech Mahindra Senior Java Developer Salary
based on 64 salaries
₹7.1 L/yr - ₹26.5 L/yr
5% more than the average Senior Java Developer Salary in India
View more details

Tech Mahindra Senior Java Developer Reviews and Ratings

based on 3 reviews

4.5/5

Rating in categories

4.5

Skill development

4.5

Work-life balance

4.5

Salary

4.5

Job security

4.5

Company culture

4.5

Promotions

4.5

Work satisfaction

Explore 3 Reviews and Ratings
Senior Java Developer

Chennai

4-6 Yrs

Not Disclosed

Explore more jobs
Software Engineer
26.4k salaries
unlock blur

₹2 L/yr - ₹9.4 L/yr

Senior Software Engineer
21.6k salaries
unlock blur

₹5.5 L/yr - ₹23.4 L/yr

Technical Lead
11.9k salaries
unlock blur

₹9.6 L/yr - ₹32 L/yr

Associate Software Engineer
5.7k salaries
unlock blur

₹1.8 L/yr - ₹5.9 L/yr

Team Lead
5k salaries
unlock blur

₹5.3 L/yr - ₹17.5 L/yr

Explore more salaries
Compare Tech Mahindra with

Infosys

3.6
Compare

Cognizant

3.7
Compare

Accenture

3.8
Compare

Wipro

3.7
Compare
Did you find this page helpful?
Yes No
write
Share an Interview