0% found this document useful (0 votes)
400 views

Java Interview With Tech Mahindra

The document contains 10 questions that were asked in a Java interview with Tech Mahindra. The questions cover topics like design patterns (factory method, abstract factory method), data structures (hash map, array list), ORM frameworks (Hibernate one-to-many relationships, criteria queries), and how Spring provides data access object support.

Uploaded by

Deepak
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
400 views

Java Interview With Tech Mahindra

The document contains 10 questions that were asked in a Java interview with Tech Mahindra. The questions cover topics like design patterns (factory method, abstract factory method), data structures (hash map, array list), ORM frameworks (Hibernate one-to-many relationships, criteria queries), and how Spring provides data access object support.

Uploaded by

Deepak
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Java Interview With Tech Mahindra

------------------------------------------------

1- Tell Me about yourself


2- Give a scenario where you will go for abstract class and where you will go for interface?
3- Explain About Factory Method Design Pattern?
4- Explain About Abstract Factory Method Design Pattern?
5- For multiple algorithims available for a requirement and Will be executed at run time. which
design pattern we will go for?
6- final List l=new ArrayList();Will we able to add the objects in ArrayList? Explain what other things
we cann’t do ?
7- How Hash Map works in java?
8- Explain Hibernate One to Many relationships.
9- Give one example of scenario use of Criteria.
10- How Spring achieves DAO Support.

You might also like