Add office photos
Tech Mahindra logo
Engaged Employer

Tech Mahindra

Verified
3.5
based on 35.3k Reviews
Video summary
Filter interviews by
System Engineer
Fresher
Clear (1)

Tech Mahindra System Engineer Interview Questions and Answers

Updated 5 Feb 2024

Q1. What is inheritance and what is class and object

Ans.

Inheritance is a concept in object-oriented programming where a class can inherit attributes and methods from another class. A class is a blueprint for creating objects, while an object is an instance of a class.

  • Inheritance allows a class to reuse code from another class, promoting code reusability and reducing redundancy.

  • A class is a template or blueprint for creating objects, defining attributes and methods.

  • An object is an instance of a class, representing a specific entity...read more

Add your answer
right arrow

Q2. What is oops concepts in Java

Ans.

Oops concepts in Java refer to Object-Oriented Programming principles like Inheritance, Encapsulation, Polymorphism, and Abstraction.

  • Inheritance: Allows a class to inherit properties and behavior from another class.

  • Encapsulation: Bundling data and methods that operate on the data into a single unit.

  • Polymorphism: Ability of a method to do different things based on the object it is acting upon.

  • Abstraction: Hiding the implementation details and showing only the necessary feature...read more

Add your answer
right arrow
Tech Mahindra System Engineer Interview Questions and Answers for Freshers
illustration image

Q3. What is a collections in java

Ans.

Collections in Java refer to classes and interfaces that implement data structures like lists, sets, and maps.

  • Collections provide a way to store and manipulate groups of objects in Java

  • Examples include ArrayList, LinkedList, HashSet, and HashMap

  • Collections framework includes interfaces like List, Set, Map, and classes like ArrayList, HashSet, and HashMap

Add your answer
right arrow

Q4. What is list and set in java

Ans.

List and Set are both interfaces in Java used to store collections of elements, but with different characteristics.

  • List is an ordered collection that allows duplicate elements, while Set is an unordered collection that does not allow duplicates.

  • List implementations include ArrayList, LinkedList, and Vector, while Set implementations include HashSet, TreeSet, and LinkedHashSet.

  • List allows access to elements by index, while Set does not guarantee any specific order of elements....read more

Add your answer
right arrow
Discover Tech Mahindra interview dos and don'ts from real experiences

Q5. Write a program of prime numbers

Ans.

Program to generate prime numbers

  • Create a function to check if a number is prime

  • Iterate through numbers and check for prime numbers

  • Store prime numbers in an array

Add your answer
right arrow

Q6. Write. Program of palindrome program

Ans.

A palindrome program checks if a given string reads the same forwards and backwards.

  • Create a function that takes a string as input

  • Remove any spaces and convert all characters to lowercase

  • Compare the string with its reverse to check if it is a palindrome

Add your answer
right arrow
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at Tech Mahindra System Engineer

based on 5 interviews
2 Interview rounds
Resume Shortlist Round
One-on-one Round
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top System Engineer Interview Questions from Similar Companies

TCS Logo
3.7
 • 640 Interview Questions
Infosys Logo
3.6
 • 611 Interview Questions
Wipro Logo
3.7
 • 37 Interview Questions
LTIMindtree Logo
3.8
 • 10 Interview Questions
View all
Recently Viewed
SALARIES
Impetus Technologies
SALARIES
Microsoft Corporation
SALARIES
Hexaware Technologies
SALARIES
Virtusa Consulting Services
SALARIES
HCLTech
DESIGNATION
SALARIES
IBM
SALARIES
HCLTech
SALARIES
Atos
INTERVIEWS
Facebook
No Interviews
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter