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
3.5

based on 34.2k Reviews

Filter interviews by

Tech Mahindra Java J2ee Developer Interview Questions and Answers

Updated 27 Jul 2022

Tech Mahindra Java J2ee Developer Interview Experiences

1 interview found

Round 1 - Aptitude Test 

Good it was good it was good only

Round 2 - Technical 

(2 Questions)

  • Q1. Java And Spring boot questions
  • Q2. Java and Spring boot questions only
Round 3 - HR 

(2 Questions)

  • Q1. Normal Genaral questions only
  • Q2. I don't remember the question

Interview Preparation Tips

Interview preparation tips for other job seekers - Nothing much to say and Thank you soo much

Interview questions from similar companies

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Walk-in and was interviewed in Sep 2024. There were 2 interview rounds.

Round 1 - Coding Test 

Java Arrays java looping statements java Strings

Round 2 - Aptitude Test 

Clock and time and speed and percentage and directions

Interview Preparation Tips

Interview preparation tips for other job seekers - i am good hard worker and some much of patience to listen all things

I applied via Naukri.com and was interviewed in Jan 2022. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. All rounds of interview

Interview Preparation Tips

Topics to prepare for Capgemini Java J2ee Developer interview:
  • Java ,
  • Core Java
  • Spring Boot
  • Hybernate
  • My sql
Interview preparation tips for other job seekers - Good communication skills,good projects explainations
Interview experience
1
Bad
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I was interviewed in Jan 2025.

Round 1 - Coding Test 

A sequence was provided: 4181, 2684, 1597, 987, 610.
first 2 are given and write code for other value calculation using java 8

The second question required writing a reverse of a palindrome using both Java 8 streams. I was able to successfully write both and clear the first round.

Round 2 - Technical 

(6 Questions)

  • Q1. Interviewer was himself not knowing anything as it was walkin drive he was sitting infront of me and checking questions on phone Introduction that he inturrepted in between when I was introducing myself
  • Q2. What are the features of Java 17, specifically related to sealed classes, including their syntax and necessity, along with the potential errors encountered when invoking a sealed class?
  • Ans. 

    Java 17 introduces sealed classes to restrict inheritance and improve code maintainability.

    • Sealed classes are declared using the 'sealed' keyword followed by the permitted subclasses.

    • Subclasses of a sealed class must be either final or sealed themselves.

    • Errors may occur when trying to extend a sealed class with a non-permitted subclass.

  • Answered by AI
  • Q3. Java 8 feathers stream api, functional interface, Intermittent operator ,Ternary operator, Prediction,Bi predicate. Answered all successfully
  • Q4. Draw low level design of implementation of notify me if item is back in stock in a ecommerce application
  • Ans. 

    Implementation of 'notify me if item is back in stock' feature in an ecommerce application

    • Create a database table to store user notifications for out-of-stock items

    • Implement a service to check item availability and send notifications to subscribed users

    • Provide a user interface for users to subscribe to notifications for specific items

  • Answered by AI
  • Q5. All design patterns which I know. Asked me to implement adapter pattern on paper
  • Q6. Then given a problem that concurrent way perform operation on excell to decrease the response time

Interview Preparation Tips

Interview preparation tips for other job seekers - I always suggest staying away from these companies commonly referred to as WITCH (Wipro, Infosys, TCS, Cognizant, HCL). You will rarely encounter good interviewers there unless there is an extreme necessity. Interview was judging me on the basis of syntex by seeing in his phone. How can everyone write each and everything on copy. For the low level design first time in my 6 years carrier someone asked to design without using kafka or any other library like spring boot to achieve that add in reminder list problem 😂. At first it was my bad after holding a offer of almost 27 lakh I somehow agreed for giving interview. Second thing I also know that after Even clearing they cannot afford 30LPA which I asked. I just went there because from last 6.5 year I have never attended any walking or face to face interview so was curious for it. Currently also working with somewhat premium product development company only. My experience was very bad. May be it can get vary person to person.
Interview experience
2
Poor
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

I applied via Naukri.com and was interviewed in Dec 2024. There were 3 interview rounds.

Round 1 - Technical 

(3 Questions)

  • Q1. Core Java questions and multithreading basics like executor service
  • Q2. Spring boot error handling, simple questions on distributed systems
  • Q3. Coding question. Requested to do in O(n ) time complexity as oppsed to O(n2) suggested by me.
Round 2 - Technical 

(2 Questions)

  • Q1. Given an array find all the numbers whose sum is 11 using streams only
  • Q2. Spring boot basics, hibernate queries, what is native query
Round 3 - Technical 

(2 Questions)

  • Q1. Design patterns in Java, write a singleton class
  • Q2. Spring IOC and AOP

Interview Preparation Tips

Interview preparation tips for other job seekers - The first 2 rounds were good and interviewer were also good. But there were 2 people who were taking the interview with the agenda to reject me. Didn't give me time to think on anything. Pointed error in my code which afterwards checked was perfectly fine. Haven't heard back on the feedback afte the third interview.
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I was interviewed in Dec 2024.

Round 1 - Technical 

(22 Questions)

  • Q1. API Gateway implementation
  • Ans. 

    API Gateway implementation is a centralized service that routes, manages, and secures API calls.

    • API Gateway acts as a single entry point for all API calls

    • It can handle authentication, rate limiting, caching, and request/response transformations

    • Examples include AWS API Gateway, Apigee, Kong

  • Answered by AI
  • Q2. Circuit breaker implementation
  • Ans. 

    Circuit breaker is a design pattern used to prevent system overload by temporarily stopping requests to a failing service.

    • Circuit breaker monitors requests to a service and opens when the service fails repeatedly.

    • It helps prevent cascading failures and allows the system to gracefully degrade.

    • Once the circuit breaker is open, it can periodically check if the service has recovered before allowing requests again.

  • Answered by AI
  • Q3. What is deadlock? How to avoid it?
  • Ans. 

    Deadlock is a situation in which two or more processes are unable to proceed because each is waiting for the other to release a resource.

    • Avoid circular wait by ensuring processes request resources in the same order.

    • Prevent hold and wait by requiring processes to request all needed resources at once.

    • Implement a timeout mechanism to break potential deadlocks.

    • Use resource allocation graphs to detect and prevent deadlocks.

    • ...

  • Answered by AI
  • Q4. Explain equals() method
  • Ans. 

    The equals() method is used to compare the contents of two objects for equality.

    • The equals() method is a method of the Object class in Java.

    • It is used to compare the contents of two objects for equality.

    • The default implementation of equals() in the Object class compares memory addresses, so it is often overridden in custom classes to compare content.

    • Example: String class overrides equals() method to compare the content

  • Answered by AI
  • Q5. How mongodb was integrated in your application?
  • Ans. 

    MongoDB was integrated in the application by using the official Java driver and configuring connection settings.

    • Used the official MongoDB Java driver to interact with the database

    • Configured connection settings such as host, port, database name, and authentication credentials

    • Implemented CRUD operations using MongoDB Java driver methods

    • Utilized MongoDB aggregation framework for complex queries

  • Answered by AI
  • Q6. What is hibernate?
  • Ans. 

    Hibernate is an open-source Java framework that simplifies the development of database interactions in Java applications.

    • Hibernate is an Object-Relational Mapping (ORM) tool that maps Java objects to database tables.

    • It provides a way to perform database operations using Java objects instead of writing SQL queries.

    • Hibernate handles the mapping of Java classes to database tables and vice versa, as well as the generation ...

  • Answered by AI
  • Q7. Runnable vs Callable interface
  • Ans. 

    Runnable is a functional interface with a single run() method, while Callable is a functional interface with a single call() method.

    • Runnable is used for tasks that do not return a result, while Callable is used for tasks that return a result.

    • Callable can throw checked exceptions, while Runnable cannot.

    • Callable returns a Future object, which can be used to retrieve the result of the computation.

    • Example: Runnable - execu...

  • Answered by AI
  • Q8. Which type of data is returned by Callable interface?
  • Ans. 

    The Callable interface in Java returns a Future object.

    • Callable interface returns a Future object which represents the result of a computation that may not be available yet.

    • The Future object can be used to retrieve the result of the computation, check if it is done, or cancel the computation.

    • Example: Callable<Integer> task = () -> { return 42; }

  • Answered by AI
  • Q9. HashMap internal working
  • Q10. Concurrent HashMap internal working
  • Q11. How to monitor health of your application?
  • Ans. 

    Monitor application health using metrics, logs, alerts, and performance monitoring tools.

    • Use monitoring tools like Prometheus, Grafana, or New Relic to track key metrics such as CPU usage, memory usage, response times, and error rates.

    • Implement logging to record important events and errors in your application. Use tools like ELK stack (Elasticsearch, Logstash, Kibana) for log analysis.

    • Set up alerts to notify you of any...

  • Answered by AI
  • Q12. How to call an API in a Microservice architecture?
  • Ans. 

    To call an API in a Microservice architecture, use HTTP requests or messaging protocols like gRPC.

    • Use HTTP requests to communicate between microservices

    • Implement RESTful APIs for easy integration

    • Leverage messaging protocols like gRPC for efficient communication

    • Consider using service discovery mechanisms for dynamic API calls

  • Answered by AI
  • Q13. Explain Profiles
  • Ans. 

    Profiles in Java are configurations that define the capabilities of a Java platform.

    • Profiles allow developers to target specific types of devices or applications.

    • They help in reducing the size of the Java runtime environment by including only the necessary APIs.

    • Examples include Java SE Embedded Profile for embedded devices and Java SE Compact Profile for resource-constrained environments.

  • Answered by AI
  • Q14. What is OpenFeign, and how is it used in microservices architecture?
  • Ans. 

    OpenFeign is a declarative web service client used to simplify the process of making HTTP requests in microservices architecture.

    • OpenFeign allows developers to define RESTful web services as interfaces and automatically generate the necessary implementation code.

    • It integrates seamlessly with Spring Cloud and other microservices frameworks to facilitate communication between services.

    • OpenFeign supports features like loa...

  • Answered by AI
  • Q15. What is the implementation process for service registry and discovery?
  • Ans. 

    Service registry and discovery involves registering services and allowing clients to discover and connect to them.

    • Implement a service registry where services can register themselves with metadata

    • Use a service discovery mechanism for clients to find and connect to services

    • Implement health checks to ensure services are available and healthy

    • Use a load balancer to distribute traffic among multiple instances of a service

  • Answered by AI
  • Q16. What are Spring boot actuators?
  • Ans. 

    Spring Boot Actuators are built-in tools that provide insight into the running application.

    • Actuators expose various endpoints to monitor and manage the application.

    • They can be used to check health, metrics, environment details, and more.

    • Examples include /actuator/health, /actuator/metrics, and /actuator/env.

  • Answered by AI
  • Q17. Synchronous vs Asynchronous communication
  • Ans. 

    Synchronous communication is blocking, while asynchronous communication is non-blocking.

    • Synchronous communication waits for a response before continuing, while asynchronous communication does not wait.

    • Examples of synchronous communication include traditional function calls, while examples of asynchronous communication include callbacks and promises.

    • Synchronous communication can lead to performance issues if there are d...

  • Answered by AI
  • Q18. Explain Synchronized keyword
  • Ans. 

    Synchronized keyword is used in Java to control access to shared resources by multiple threads.

    • Synchronized keyword can be applied to methods or code blocks to ensure only one thread can access the synchronized code at a time.

    • It prevents race conditions and ensures thread safety by creating a lock on the object or class.

    • Example: synchronized void myMethod() { // synchronized code block }

  • Answered by AI
  • Q19. What are the consequences of excessively using synchronized blocks and methods in Java?
  • Ans. 

    Excessive use of synchronized blocks and methods in Java can lead to performance issues and potential deadlocks.

    • Decreased performance due to increased contention for locks

    • Potential deadlocks if multiple threads are waiting for each other to release locks

    • Increased complexity and difficulty in debugging and maintaining code

    • Use synchronized sparingly and consider alternatives like ConcurrentHashMap or Lock interface

  • Answered by AI
  • Q20. How can you determine the number of threads needed for your application?
  • Ans. 

    The number of threads needed for an application can be determined based on factors like the type of tasks, hardware resources, and performance requirements.

    • Consider the type of tasks your application needs to perform - CPU-bound tasks may benefit from more threads, while I/O-bound tasks may not.

    • Take into account the hardware resources available - more threads may be beneficial on a multi-core processor compared to a si...

  • Answered by AI
  • Q21. Explain Executor framework
  • Ans. 

    Executor framework is a framework in Java that provides a way to manage and execute tasks asynchronously.

    • Allows for managing thread execution in a more efficient way

    • Provides a way to decouple task submission from task execution

    • Supports various types of executors like ThreadPoolExecutor and ScheduledExecutorService

    • Helps in handling tasks concurrently and asynchronously

  • Answered by AI
  • Q22. Explain BlockingQueue
  • Ans. 

    BlockingQueue is an interface in Java that represents a queue which supports operations that wait for the queue to become non-empty when retrieving an element and wait for space to become available in the queue when adding an element.

    • BlockingQueue is part of the java.util.concurrent package.

    • It is used for implementing producer-consumer scenarios where multiple threads are involved.

    • Methods like put() and take() are used...

  • Answered by AI
Round 2 - HR 

(2 Questions)

  • Q1. Why did you leave your previous company?
  • Ans. 

    Seeking new challenges and opportunities for growth.

    • Desire for career advancement

    • Looking for new challenges

    • Seeking better work-life balance

    • Company restructuring or downsizing

    • Relocation to a new area

  • Answered by AI
  • Q2. Other basic questions asked regarding the relevant skills and technologies I have worked with.
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Company Website and was interviewed in Dec 2024. There were 5 interview rounds.

Round 1 - Aptitude Test 

An aptitude test is an assessment to measure a candidate mental aptitude/mental ability

Round 2 - Technical 

(3 Questions)

  • Q1. Can you briefly Tell us about yourself?
  • Ans. 

    I am a passionate software developer with 5 years of experience in web development and a strong background in computer science.

    • 5 years of experience in web development

    • Strong background in computer science

    • Passionate about software development

  • Answered by AI
  • Q2. What do you consider to be your strongest points?
  • Ans. 

    My strongest points include problem-solving skills, attention to detail, and ability to work well in a team.

    • Strong problem-solving skills - I enjoy tackling complex issues and finding creative solutions.

    • Attention to detail - I am meticulous in my work and strive for perfection in every task.

    • Team player - I collaborate effectively with colleagues, communicate openly, and contribute positively to group projects.

  • Answered by AI
  • Q3. Which programming languages do you use regularly in your work
  • Ans. 

    I regularly use Java, Python, and SQL in my work as a Software Developer.

    • Java

    • Python

    • SQL

  • Answered by AI
Round 3 - Group Discussion 

A group discussion is a structured conversation in which participants share their ideas, perspectives, and solutions on a specific topic.

Round 4 - HR 

(2 Questions)

  • Q1. What motivates you to seek employment at Wipro?
  • Ans. 

    I am motivated to seek employment at Wipro because of their reputation for innovation and opportunities for growth.

    • Impressed by Wipro's track record of delivering cutting-edge solutions

    • Excited about the chance to work with a diverse and talented team

    • Eager to take advantage of Wipro's professional development programs

  • Answered by AI
  • Q2. What are your long-term career goals?
  • Ans. 

    My long-term career goal is to become a lead software developer and eventually move into a management role.

    • Advance to a lead software developer position

    • Gain experience in managing a team of developers

    • Develop strong leadership and communication skills

    • Continue learning new technologies and staying updated with industry trends

  • Answered by AI
Round 5 - Assignment 

Assignment details refer to the specifics of an assignment, including any documents and/or emails or subsequent correspondence between the company and the client.

Interview Preparation Tips

Topics to prepare for Wipro Software Developer interview:
  • Your academic achievement
  • Responsibility related to your p
  • The way you address mistakes at
Interview preparation tips for other job seekers - Reflect on the activities you enjoy and what brings you happiness, while also taking into account your skills and strengths.
Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I was interviewed in Dec 2024.

Round 1 - HR 

(4 Questions)

  • Q1. Tell me about yourself. Why do you want to work here? What are your strengths and weaknesses? Why did you leave your previous job (or why are you looking for a new one)? Where do you see yourself in 5 year...
  • Q2. These questions help HR gauge how well you would fit into the company culture and how your experience aligns with the role. It's a good idea to prepare for them with specific examples from your past experi...
  • Q3. What are your strengths and weaknesses?
  • Q4. What motivates you to perform at your best?
Round 2 - Group Discussion 

Any one tell in gd in 5 minutes in english

Round 3 - Aptitude Test 

1. Numerical Reasoning
- Example: "If a car travels 60 km in 1 hour, how long will it take to travel 150 km at the same speed?"

2. **Verbal Reasoning**
- Example: "Which of the following words is most similar in meaning to 'elated'? (a) Sad (b) Happy (c) Angry (d) Tired"

3. **Logical Reasoning**
- Example: "If all cats are animals, and all animals are living beings, are all cats living beings? (True/False)"

4. **Data Interpretation**
- Example: "Given a graph showing sales data over the past 12 months, what was the highest monthly sales figure?"

5. **Pattern Recognition**
- Example: "What comes next in the series: 2, 4, 8, 16, __?"

6. **Mathematical Reasoning**
- Example: "If 3x + 4 = 19, what is the value of x?"

7. **Spatial Reasoning**
- Example: "Which shape is different from the others: Square, Circle, Triangle, Rectangle?"

8. **Time and Work Problems**
- Example: "If A can finish a task in 5 days and B can finish the same task in 10 days, how long will it take for both A and B to complete the task together?"

Round 4 - Case Study 

Tell me about yourself.
Why do you want to work here?
What are your strengths and weaknesses?
Why did you leave your previous job (or why are you looking for a new one)?
Where do you see yourself in 5 years?
Can you describe a time when you faced a challenge at work and how you handled it?
How do you prioritize your tasks?
What motivates you?
How do you handle working under pressure or tight deadlines?
What are your salary expectations?
How do you deal with conflict in the workplace?
Do you prefer working independently or as part of a team?
These questions help HR gauge how well you would fit into the company culture and how your experience aligns with the role. It's a good idea to prepare for them with specific examples from your past experie
The Aptitude test typically includes questions that assess your logical reasoning, problem-solving skills, and ability to think critically. It can cover a wide range of topics depending on the job you're applying for, but here are some common types of questions you might encounter:

Numerical Reasoning

Example: "If a car travels 60 km in 1 hour, how long will it take to travel 150 km at the same speed?"
Verbal Reasoning

Example: "Which of the following words is most similar in meaning to 'elated'? (a) Sad (b) Happy (c) Angry (d) Tired"
Logical Reasoning

Example: "If all cats are animals, and all animals are living beings, are all cats living beings? (True/False)"
Data Interpretation

Example: "Given a graph showing sales data over the past 12 months, what was the highest monthly sales figure?"
Pattern Recognition

Example: "What comes next in the series: 2, 4, 8, 16, __?"
Mathematical Reasoning

Example: "If 3x + 4 = 19, what is the value of x?"
Spatial Reasoning

Example: "Which shape is different from the others: Square, Circle, Triangle, Rectangle?"
Time and Work Problems

Example: "If A can finish a task in 5 days and B can finish the same task in 10 days, how long will it take for both A and B to complete the task together?"
To prepare, it's helpful to practice problems in these areas. Many online platforms offer free aptitude tests to help you improve your skills before the actual test.


Case study
In a case study interview, you'll be given a real-world business problem and asked to analyze the situation and come up with solutions or recommendations. The goal is to evaluate your problem-solving, analytical thinking, and decision-making abilities.

Round 5 - Coding Test 

**Coding tests** are commonly used in technical interviews to evaluate your programming skills. These tests usually involve solving algorithmic problems, debugging code, or writing efficient code to handle certain tasks. Here are the general types of coding tests you might encounter:

### 1. **Algorithm and Data Structure Questions:**
These focus on your ability to use algorithms and data structures to solve problems efficiently.
- **Sorting and Searching**
Example: Implement a sorting algorithm like QuickSort or MergeSort, or write a binary search function.
- **Linked Lists**
Example: Reverse a linked list or detect a cycle in a linked list.
- **Trees and Graphs**
Example: Find the height of a binary tree, or perform a breadth-first search (BFS) or depth-first search (DFS) on a graph.
- **Dynamic Programming**
Example: Solve problems like the Fibonacci sequence, the knapsack problem, or longest common subsequence.
- **Recursion**
Example: Write a function that calculates factorials or solves the Towers of Hanoi problem.

### 2. **String Manipulation:**
These problems test your ability to handle and manipulate strings efficiently.
- Example: Write a function to check if a string is a palindrome, or find the longest substring without repeating characters.

### 3. **Mathematical Problems:**
These involve solving problems with mathematical concepts.
- Example: Check if a number is prime, or find the greatest common divisor (GCD) of two numbers.

### 4. **Array and Matrix Problems:**
These involve operations and algorithms on arrays or matrices.
- Example: Rotate a matrix, find the maximum sum subarray (Kadane’s algorithm), or merge two sorted arrays.

### 5. **Problem Solving with Constraints:**
In some cases, you may be given a problem where you need to optimize for time or space complexity.
- Example: Write an algorithm that finds the shortest path in a maze with obstacles, and ensure that it runs in O(n log n) time.

### 6. **Debugging:**
In some coding tests, you might be asked to debug a given piece of code that’s producing errors or incorrect output.

### 7. **Object-Oriented Design:**
These questions test your ability to design systems and classes using object-oriented principles.
- Example: Design a class to represent a library system, or implement a parking lot with multiple types of vehicles.

---

### Tips for Coding Tests:

1. **Understand the Problem:**
- Read the problem statement carefully before jumping into writing code.
- Clarify the input, output, and constraints with the interviewer (if needed).

2. **Plan Your Approach:**
- Before writing code, think about the algorithm you’ll use and the time/space complexity.
- Break down the problem into smaller steps and outline your solution.

3. **Write Clean, Efficient Code:**
- Focus on writing readable and efficient code.
- Optimize your solution to handle edge cases and large input sizes.

4. **Test Your Solution:**
- Test your code with sample inputs, including edge cases (empty input, large numbers, etc.).

5. **Communicate Your Thought Process:**
- As you write your code, explain your approach to the interviewer. This shows your problem-solving process.

### Example Coding Problem:

**Problem:**
Write a function to find the "Nth" Fibonacci number.

**Solution:**
```python
def fibonacci(n):
if n <= 1:
return n
a, b = 0, 1
for i in range(2, n+1):
a, b = b, a + b
return b
```

**Explanation:**
- The Fibonacci sequence starts with 0 and 1, and each subsequent number is the sum of the two preceding ones.
- We use an iterative approach to calculate the Fibonacci number at the nth position.

### Practice Platforms:
To prepare for coding tests, you can practice on the following platforms:
- **LeetCode**
- **HackerRank**
- **CodeSignal**
- **Codewars**
- **Exercism**

These platforms provide a wide variety of problems to improve your coding skills and familiarize yourself with common interview questions.

Round 6 - Assignment 

An **assignment** in the context of a job or academic setting is typically a task or project that you're asked to complete as part of your evaluation. The nature of the assignment will depend on the type of role or course you're involved with. Below are a few types of assignments you might encounter, along with how you can approach them:

### 1. **Technical Assignment (for a tech role)**
If you're applying for a technical position (like software engineering or data science), you might be given a coding or algorithm-based task. This could include:
- **Building a program or web app**: You might be asked to create a simple application, implement an algorithm, or design a feature based on the company’s needs.
- **Data Analysis**: Given a dataset, you may be required to clean, analyze, and extract insights from it using tools like Excel, SQL, Python, or R.
- **Problem-Solving Tasks**: Solve algorithmic problems or complete coding challenges (similar to those in a coding interview).

**Approach:**
- **Understand the requirements**: Read the assignment carefully, understand the scope, and ask any questions if something isn’t clear.
- **Plan your solution**: Break down the task into smaller steps. Plan your code, database queries, or analysis method.
- **Test thoroughly**: Ensure your code or solution works with a variety of inputs, including edge cases.
- **Document your work**: Include comments in your code, and provide a brief explanation of your approach and thought process.

---

### 2. **Business Assignment (for a business role)**
In a business-related position, the assignment could involve:
- **Case Studies**: You may be given a hypothetical business problem, like a company facing challenges in sales or operations. You'll need to analyze the issue, suggest solutions, and present them clearly.
- **Market Research**: Conduct research about an industry or competitors, analyze trends, and compile a report with insights and recommendations.
- **Business Strategy**: Devise a strategy to help a company grow, expand its market, or improve operations.

**Approach:**
- **Identify key issues**: Make sure to fully understand the business problem, and highlight any key challenges.
- **Gather data**: Use relevant data, facts, or market trends to support your arguments.
- **Develop a solution**: Propose actionable solutions with clear reasoning, potential risks, and benefits.
- **Present your findings**: Structure your report or presentation logically, and be ready to defend your solution.

---

### 3. **Design or Creative Assignment**
For roles in design (graphic design, UX/UI, etc.), the assignment may involve:
- **Creating visual designs**: You could be tasked with designing logos, web pages, or app interfaces.
- **Developing a brand concept**: Designing a complete branding package, such as a logo, color scheme, and typography.
- **Wireframing or Prototyping**: Designing a prototype for a mobile or web application.

**Approach:**
- **Understand the brand or problem**: Research the company or product and ensure your design aligns with its values, audience, and goals.
- **Sketch or wireframe first**: Create initial mock-ups or wireframes before jumping into the final design.
- **Seek feedback**: If possible, get feedback from others to improve your design.
- **Present your design**: Provide context on how your design decisions align with the brand or project goals.

---

### 4. **Writing Assignment**
In fields like marketing, journalism, or academia, writing assignments are common. These might include:
- **Content creation**: Write a blog post, article, or social media content.
- **Research paper or essay**: You may be asked to write a research paper, analysis, or essay on a particular topic.
- **Copywriting**: Write persuasive copy for advertisements, websites, or product descriptions.

**Approach:**
- **Research thoroughly**: Understand the topic you're writing about, and gather credible sources or data.
- **Create an outline**: Organize your thoughts logically before writing the full content.
- **Write and revise**: Draft the assignment, then revise it for clarity, conciseness, and flow.
- **Proofread**: Make sure your writing is free of grammar or spelling errors.

---

### General Tips for Completing an Assignment:

- **Time Management**: Plan your time carefully. Break down the assignment into smaller tasks and set deadlines for each task.
- **Quality over Quantity**: Focus on providing a well-thought-out solution rather than rushing to complete a lot of work.
- **Seek Feedback**: If you're unsure about your approach, don't hesitate to ask for feedback from colleagues, peers, or mentors.
- **Polish Your Presentation**: Whether it's a report, code, or design, make sure your final deliverable is polished and easy to understand.

---

Would you like more specific guidance on a particular type of assignment you're working on?

Interview Preparation Tips

Interview preparation tips for other job seekers - 1. **Customize Your Resume and Cover Letter**: Tailor your resume and cover letter for each job you apply to. Highlight relevant skills and experiences that align with the job description.

2. **Network**: Connect with professionals in your industry, attend events, and use platforms like LinkedIn. Networking can open doors to unadvertised opportunities.

3. **Research Employers**: Before applying, research the company’s culture, values, and work environment. This will help you tailor your application and perform better in interviews.

4. **Stay Organized**: Keep track of the jobs you've applied to, the deadlines, and any follow-up actions. A job search can get overwhelming, so organization is key.

5. **Prepare for Interviews**: Practice common interview questions, research the company thoroughly, and have questions ready for the interviewer. Confidence and preparedness go a long way.

6. **Stay Persistent and Positive**: Job hunting can be tough, and rejection is part of the process. Stay motivated, keep improving your skills, and remain positive.

7. **Develop New Skills**: If you’re not landing the roles you want, consider taking online courses or certifications that can boost your qualifications and make you more marketable.

8. **Leverage Social Media**: Showcase your expertise by sharing articles, insights, or personal projects on LinkedIn. Employers sometimes use social media to find candidates.

Is there a particular area of the job search you’re focusing on? I can offer more targeted advice!
Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Walk-in and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - Technical 

(4 Questions)

  • Q1. Given an array {1, 2, 1, 4, 5, 4, 8, 7}, how can you use Streams to remove duplicates while retaining only the even numbers?
  • Ans. 

    Use Streams to remove duplicates and retain only even numbers from an array.

    • Convert the array to a stream using Arrays.stream()

    • Use distinct() to remove duplicates

    • Filter out odd numbers using filter()

    • Collect the result using collect(Collectors.toList())

  • Answered by AI
  • Q2. What is the use of Static and final when you will use Static methods
  • Ans. 

    Static methods can be accessed without creating an instance of the class, while final keyword makes the method unchangeable.

    • Static methods belong to the class itself, not to any specific instance

    • Final keyword ensures that the method cannot be overridden in subclasses

    • Static methods are commonly used for utility methods that do not require access to instance variables

    • Example: Math class in Java has static methods like Ma

  • Answered by AI
  • Q3. What is the difference between @restController and @controller Annotation
  • Ans. 

    The @RestController annotation is used to define RESTful web services while @Controller annotation is used to define MVC controller.

    • RestController is a specialized version of Controller used for RESTful web services

    • RestController eliminates the need for @ResponseBody annotation

    • Controller is used for traditional MVC controller functionality

    • RestController returns data directly without needing to go through a view resolve...

  • Answered by AI
  • Q4. What is microservices why we use it
  • Ans. 

    Microservices are a software development technique where applications are composed of small, independent services that communicate with each other.

    • Microservices allow for easier scalability and maintenance of complex applications.

    • Each service in a microservices architecture can be developed, deployed, and scaled independently.

    • Microservices promote flexibility and agility in software development.

    • Examples of companies us...

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Cognizant Senior Java Developer interview:
  • Java SpringBoot
Interview preparation tips for other job seekers - Need to have strong knowledge on basics Java Spring boot and Microservices
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
4-6 weeks
Result
Selected Selected

I applied via Approached by Company and was interviewed in Dec 2024. There was 1 interview round.

Round 1 - Technical 

(3 Questions)

  • Q1. Project based questions
  • Q2. Scenario based question (multithreading and caching related scenarios were asked to me)
  • Q3. One coding challenge

Interview Preparation Tips

Interview preparation tips for other job seekers - Questions vary from team to team.

Tech Mahindra Interview FAQs

How many rounds are there in Tech Mahindra Java J2ee Developer interview?
Tech Mahindra interview process usually has 3 rounds. The most common rounds in the Tech Mahindra interview process are Aptitude Test, Technical and HR.
How to prepare for Tech Mahindra Java J2ee 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 J2Ee, Java, Spring Boot, Core Java and Spring Mvc.
What are the top questions asked in Tech Mahindra Java J2ee Developer interview?

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

  1. Java and Spring boot questions o...read more
  2. Normal Genaral questions o...read more
  3. I don't remember the quest...read more

Tell us how to improve this page.

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.4k Interviews
Accenture Interview Questions
3.9
 • 8.1k Interviews
Infosys Interview Questions
3.7
 • 7.6k Interviews
Wipro Interview Questions
3.7
 • 5.6k Interviews
Cognizant Interview Questions
3.8
 • 5.6k Interviews
Capgemini Interview Questions
3.8
 • 4.8k Interviews
HCLTech Interview Questions
3.5
 • 3.8k Interviews
Genpact Interview Questions
3.9
 • 3k Interviews
LTIMindtree Interview Questions
3.8
 • 3k Interviews
IBM Interview Questions
4.0
 • 2.4k Interviews
View all
Tech Mahindra Java J2ee Developer Salary
based on 62 salaries
₹2.1 L/yr - ₹5.8 L/yr
31% less than the average Java J2ee Developer Salary in India
View more details

Tech Mahindra Java J2ee Developer Reviews and Ratings

based on 2 reviews

4.0/5

Rating in categories

5.0

Skill development

4.1

Work-life balance

3.9

Salary

4.1

Job security

4.0

Company culture

4.0

Promotions

4.0

Work satisfaction

Explore 2 Reviews and Ratings
Software Engineer
26.4k salaries
unlock blur

₹2 L/yr - ₹9.1 L/yr

Senior Software Engineer
21.3k salaries
unlock blur

₹5.5 L/yr - ₹23.3 L/yr

Technical Lead
11.6k salaries
unlock blur

₹9.2 L/yr - ₹37 L/yr

Associate Software Engineer
5.4k salaries
unlock blur

₹1.8 L/yr - ₹6 L/yr

Team Lead
4.9k salaries
unlock blur

₹5.2 L/yr - ₹17 L/yr

Explore more salaries
Compare Tech Mahindra with

Infosys

3.6
Compare

Cognizant

3.8
Compare

Accenture

3.9
Compare

Wipro

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