Upload Button Icon Add office photos
Engaged Employer

i

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

Tata Elxsi Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Tata Elxsi Java Developer Interview Questions and Answers

Updated 21 May 2025

Tata Elxsi Java Developer Interview Experiences

3 interviews found

Java Developer Interview Questions & Answers

user image Sampathkumar Homay

posted on 21 May 2025

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
More than 8 weeks
Result
Selected Selected

I appeared for an interview before May 2024, where I was asked the following questions.

  • Q1. What is Encapsulation?
  • Ans. 

    Encapsulation is a fundamental OOP principle that restricts direct access to an object's data and methods.

    • Encapsulation helps in data hiding, protecting the internal state of an object.

    • It allows controlled access through public methods (getters and setters).

    • Example: A class 'BankAccount' can have private fields like 'balance' and public methods to deposit or withdraw funds.

    • Encapsulation improves code maintainability an...

  • Answered by AI
  • Q2. What is abstraction?
  • Ans. 

    Abstraction is a fundamental OOP concept that hides complex implementation details, exposing only essential features to the user.

    • Abstraction allows focusing on what an object does instead of how it does it.

    • Example: In a car, you use the steering wheel to drive without knowing the mechanics behind it.

    • In Java, abstraction can be achieved using abstract classes and interfaces.

    • Example: An abstract class 'Animal' can define...

  • Answered by AI
  • Q3. Java Fundamentals
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
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 - Aptitude Test 

Aptitude, Reasoning and verbal.

Round 3 - Coding Test 

OOPS based two simple coding question.

Round 4 - HR 

(2 Questions)

  • Q1. 1.Question related my college life.
  • Q2. 2. What Difficulty I faced in my life and how I overcome it.

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident in interview and give attention to your communication skills.

Java Developer Interview Questions Asked at Other Companies

asked in Deloitte
Q1. Sort 0 and 1 Problem Statement Given an integer array ARR of size ... read more
Q2. Parent class has run() and walk(). Parent run() calls walk(). Chi ... read more
asked in Infosys
Q3. Which should be preferred between String and StringBuffer when th ... read more
Q4. How do you sort a list of students based on their first name?
asked in Cognizant
Q5. What array list and linkedlist difference,how hashmap internally ... read more
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
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 - Aptitude Test 

Basic Aptitude, Reasoning and Verbal test

Round 3 - HR 

(2 Questions)

  • Q1. 1.Questions regarding my College life
  • Q2. 2. What is Difficulty I faced in my life and how I overcome it

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident in interview. Give attention to your communication skills

Top trending discussions

View All
Interview Tips & Stories
6d (edited)
a team lead
Why are women still asked such personal questions in interview?
I recently went for an interview… and honestly, m still trying to process what just happened. Instead of being asked about my skills, experience, or how I could add value to the company… the questions took a totally unexpected turn. The interviewer started asking things like When are you getting married? Are you engaged? And m sure, if I had said I was married, the next question would’ve been How long have you been married? What does my personal life have to do with the job m applying for? This is where I felt the gender discrimination hit hard. These types of questions are so casually thrown at women during interviews but are they ever asked to men? No one asks male candidates if they’re planning a wedding or how old their kids are. So why is it okay to ask women? Can we please stop normalising this kind of behaviour in interviews? Our careers shouldn’t be judged by our relationship status. Period.
Got a question about Tata Elxsi?
Ask anonymously on communities.

Interview questions from similar companies

I appeared for an interview in Oct 2020.

Round 1 - Coding Test 

(1 Question)

Round duration - 75 min
Round difficulty - Medium

This round was MCQ and coding round. 25 MCQs and one coding question were asked. MCQs were based on OS, DBMS, Aptitude and Data Structures.

  • Q1. 

    Minimum Days to Complete Work

    You have 'N' tasks to complete. Each task can only be done on one of two specific days provided in two arrays: day1 and day2.

    For each task i, day1[i] represents the earliest...

  • Ans. 

    Find the minimum number of days required to complete all tasks given specific completion days for each task.

    • Sort the tasks based on day1 in ascending order.

    • For each task, choose the minimum of day1 and day2 as the completion day.

    • Keep track of the maximum completion day for each task.

    • The final answer is the maximum completion day of all tasks.

  • Answered by AI
Round 2 - Video Call 

(1 Question)

Round duration - 30 min
Round difficulty - Easy

This was a Data Structural round. Only one coding question was asked by the interviewer. The interviewer was very friendly. This round was very easy.

  • Q1. 

    Bubble Sort Problem Statement

    Sort the given unsorted array consisting of N non-negative integers in non-decreasing order using the Bubble Sort algorithm.

    Input:

    The first line contains an integer 'T' r...
  • Ans. 

    Bubble Sort algorithm is used to sort an array of non-negative integers in non-decreasing order.

    • Implement the Bubble Sort algorithm to sort the array in place.

    • Compare adjacent elements and swap them if they are in the wrong order.

    • Repeat this process until the array is sorted.

    • Time complexity of Bubble Sort is O(n^2) in the worst case.

    • Example: For input [6, 2, 8, 4, 10], the output should be [2, 4, 6, 8, 10].

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from TIET - Thapar Institute of Engineering And Technology. I applied for the job as SDE - 1 in GurgaonEligibility criteria8Optum interview preparation:Topics to prepare for the interview - Data Structures, Pointers, OOPS,Dynamic Programminng,Operating System,DBMSTime required to prepare for the interview - 6 monthsInterview preparation tips for other job seekers

Tip 1 : Be confident! 
Tip 2 : Maintain high Cgpa
Tip 3 : Do your best

Application resume tips for other job seekers

Tip 1 : Mention clear points
Tip 2 : Atleast 3 projects and never put anything you have not revised

Final outcome of the interviewSelected

Skills evaluated in this interview

I appeared for an interview before Sep 2020.

Round 1 - Coding Test 

(1 Question)

Round duration - 75 minutes
Round difficulty - Medium

It was in the evening.
It consisted of 26 questions of easy to hard level.
It consisted of 25 MCQs and only 1 coding problem.

  • Q1. 

    Author and Books Formatting

    Given a structured list of books and their authors, format the information as specified.

    Input:

    The first line of input contains an integer ‘T' representing the number of tes...
  • Ans. 

    The task is to format a list of authors and their books in a specific way as per the given input format.

    • Parse the input to extract the number of test cases, number of authors, author names, and their respective books.

    • Format the output by printing the author names and their books in the specified format.

    • Ensure correct sequence and labeling of authors and books as per the example provided.

    • Handle multiple test cases and a...

  • Answered by AI
Round 2 - Video Call 

(1 Question)

Round duration - 15 minutes
Round difficulty - Medium

It was more of CV based round. A brief discussion on projects was there followed by some questions like why optum.

  • Q1. 

    Delete a Node from a Linked List

    You are provided with a linked list of integers. Your task is to implement a function that deletes a node located at a specified position 'POS'.

    Input:

    The first line co...
  • Ans. 

    Implement a function to delete a node from a linked list at a specified position.

    • Traverse the linked list to find the node at the specified position.

    • Update the pointers of the previous and next nodes to skip the node to be deleted.

    • Handle edge cases such as deleting the head or tail of the linked list.

    • Ensure to free the memory of the deleted node to avoid memory leaks.

  • Answered by AI
Round 3 - Video Call 

(1 Question)

Round duration - 15 minutes
Round difficulty - Easy

A short round where some basic dbms questions like procedure, cursor were asked. Then some questions on whether I would prefer working alone or in a team. Where I see myself in 5 years.

  • Q1. 

    Graph Coloring Problem

    You are given a graph with 'N' vertices numbered from '1' to 'N' and 'M' edges. Your task is to color this graph using two colors, such as blue and red, in a way that no two adjacen...

  • Ans. 

    Given a graph with 'N' vertices and 'M' edges, determine if it can be colored using two colors without adjacent vertices sharing the same color.

    • Use graph coloring algorithm like BFS or DFS to check if the graph can be colored with two colors without conflicts.

    • Check if any adjacent vertices have the same color. If so, it is not possible to color the graph as described.

    • If the graph has connected components, color each co...

  • Answered by AI

Interview Preparation Tips

Eligibility criteriaAbove 8 CGPA, Computer oriented branchesOptum interview preparation:Topics to prepare for the interview - DBMS, Data Structures, Algorithms, Puzzles, Operating Systems, OOPSTime required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : Projects do not matter much for this company.
Tip 2 : I did almost all the puzzles from Interviewbit.
Tip 3 : DBMS is really important. Practice queries in SQL thoroughly. You should know the use of limit and top also. It may be asked to write the same query in more than 1 form.
Tip 4 : Practice all the data structures. Questions were simple and you should know the basics of every data structure.

Application resume tips for other job seekers

Tip 1 : Don't write anything just for the sake of it.
Tip 2 : If you are writing some project then be thorough with all the details. If you are not much confident, then simply remove it and focus on other subjects.

Final outcome of the interviewSelected

Skills evaluated in this interview

Interview Questionnaire 

1 Question

  • Q1. Basic questions related to skillset

Interview Questionnaire 

1 Question

  • Q1. Diff between c#, Asp.net and mvc
  • Ans. 

    C# is a programming language, ASP.NET is a web framework, and MVC is a design pattern for building web applications.

    • C# is used to write code for various applications, including web applications.

    • ASP.NET is a web framework that provides tools and libraries for building web applications.

    • MVC is a design pattern that separates an application into three components: Model, View, and Controller.

    • ASP.NET MVC is a web framework t...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - learn mvc , oops concepts

Skills evaluated in this interview

Are these interview questions helpful?

Interview Questionnaire 

2 Questions

  • Q1. Reverse linked list
  • Ans. 

    Reversing a linked list involves changing the direction of its nodes to point to the previous node instead of the next.

    • 1. Initialize three pointers: previous (prev), current (curr), and next.

    • 2. Traverse the list: while curr is not null, set next to curr.next.

    • 3. Reverse the link: curr.next = prev.

    • 4. Move prev and curr one step forward: prev = curr; curr = next.

    • 5. Repeat until curr is null; prev will be the new head of t...

  • Answered by AI
  • Q2. Invert tree
  • Ans. 

    Invert a binary tree by swapping left and right children recursively.

    • Use a recursive approach to swap left and right children.

    • Base case: If the node is null, return.

    • Example: For a tree with root 1, left 2, right 3, after inversion, left becomes 3, right becomes 2.

    • Iterative approach can also be used with a queue or stack.

  • Answered by AI

I appeared for an interview in Oct 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 90 minutes
Round difficulty - Medium

Test was active from 28th September 8 PM till 2 AM (29th September’20). We could attempt at any time. 
1.5 Hr Duration
Two coding questions.

  • Q1. 

    Cycle Detection in Undirected Graph Problem Statement

    You are provided with an undirected graph containing 'N' vertices and 'M' edges. The vertices are numbered from 1 to 'N'. Your objective is to determi...

  • Ans. 

    Detect cycles in an undirected graph.

    • Use Depth First Search (DFS) to detect cycles in the graph.

    • Maintain a visited array to keep track of visited vertices.

    • If a visited vertex is encountered again during DFS, a cycle exists.

    • Check for cycles in each connected component of the graph.

    • Consider edge cases like disconnected graphs and self-loops.

  • Answered by AI
  • Q2. 

    Number of Islands Problem Statement

    You are provided with a 2-dimensional matrix having N rows and M columns, containing only 1s (land) and 0s (water). Your goal is to determine the number of islands in t...

  • Ans. 

    Count the number of islands in a 2D matrix of 1s and 0s.

    • Use depth-first search (DFS) to traverse the matrix and identify connected groups of 1s.

    • Maintain a visited array to keep track of visited cells to avoid redundant traversal.

    • Increment the island count each time a new island is encountered.

    • Consider all eight possible directions for connectivity while traversing the matrix.

    • Handle edge cases such as out-of-bounds indi...

  • Answered by AI
Round 2 - Video Call 

(1 Question)

Round duration - 60 minutes
Round difficulty - Medium

Online video call round on Microsoft Teams
Interviewer was very friendly.
This round is often called Domain Discussion Round.

  • Q1. 

    Longest Repeating Substring Problem Statement

    Given a string str consisting of lowercase English alphabet letters, and an integer K, you are allowed to perform at most K operations on this string. An oper...

  • Ans. 

    Find the length of the longest substring consisting of repeating characters after performing K operations.

    • Iterate through the string and maintain a sliding window of characters.

    • Keep track of the frequency of characters in the window.

    • Update the window by changing characters to maximize the length of repeating substring.

    • Return the length of the longest repeating substring obtained.

  • Answered by AI
Round 3 - HR 

Round duration - 60 minutes
Round difficulty - Medium

One hour HR round.
Also called Core Values Interview.
The Interviewer was a senior level employee and was very friendly.

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in GurgaonEligibility criteriaAbove 6.5 GPA, CS and Allied StreamsPublicis Sapient interview preparation:Topics to prepare for the interview - DS/ALGO, Competitive Programming, OS, DBMS, SQL Queries, Computer Networks BasicsTime required to prepare for the interview - 1 monthInterview preparation tips for other job seekers

Tip 1 : Interview is more like a two-way discussion rather than a question-answer session, feel free to ask for help/hints if you're stuck. 
Tip 2 : Even if you don't know the solution to the problem just try to work out a naive solution. You can optimize it later. 
Tip 3 : Make sure to read out the interview experiences of other people who have applied for the same role/company in the past

Application resume tips for other job seekers

Tip 1: Keep it concise and to the point.
Tip 2: Don't forget to show your best achievements

Final outcome of the interviewSelected

Skills evaluated in this interview

I applied via Campus Placement and was interviewed in Dec 2020. There were 5 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Program for pattern printing ,bubble sort
  • Ans. 

    Program to print a pattern and implement bubble sort on an array of strings.

    • For pattern printing, use nested loops to print the desired pattern.

    • For bubble sort, compare adjacent elements and swap if necessary.

    • Use a loop to iterate through the array until no more swaps are needed.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Basics

Skills evaluated in this interview

Tata Elxsi Interview FAQs

How many rounds are there in Tata Elxsi Java Developer interview?
Tata Elxsi interview process usually has 3-4 rounds. The most common rounds in the Tata Elxsi interview process are Resume Shortlist, Aptitude Test and HR.
How to prepare for Tata Elxsi 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 Tata Elxsi. The most common topics and skills that interviewers at Tata Elxsi expect are Java, Microservices, Spring Boot, AWS and Core Java.
What are the top questions asked in Tata Elxsi Java Developer interview?

Some of the top questions asked at the Tata Elxsi Java Developer interview -

  1. What is Encapsulati...read more
  2. What is abstracti...read more
  3. Java Fundament...read more

Tell us how to improve this page.

Overall Interview Experience Rating

5/5

based on 3 interview experiences

Difficulty level

Moderate 100%

Duration

More than 8 weeks 100%
View more
Tata Elxsi Java Developer Salary
based on 17 salaries
₹3.5 L/yr - ₹7.5 L/yr
15% less than the average Java Developer Salary in India
View more details

Tata Elxsi Java Developer Reviews and Ratings

based on 1 review

1.0/5

Rating in categories

2.0

Skill development

1.0

Work-life balance

1.0

Salary

2.0

Job security

2.0

Company culture

1.0

Promotions

2.0

Work satisfaction

Explore 1 Review and Rating
Senior Engineer
4.8k salaries
unlock blur

₹4.5 L/yr - ₹11.6 L/yr

Specialist
2.7k salaries
unlock blur

₹9.8 L/yr - ₹24.8 L/yr

Engineer
1.5k salaries
unlock blur

₹2.8 L/yr - ₹7.4 L/yr

Senior Software Engineer
1.1k salaries
unlock blur

₹4.6 L/yr - ₹13.9 L/yr

Software Engineer
761 salaries
unlock blur

₹3.5 L/yr - ₹7.5 L/yr

Explore more salaries
Compare Tata Elxsi with

TCS

3.6
Compare

LTIMindtree

3.7
Compare

DXC Technology

3.6
Compare

Mphasis

3.3
Compare
write
Share an Interview