Sunday, March 6, 2016

Java interview questions for senior developers from TechMahindra

1. What is the need of using collections in java?
2. How to get unique id using collections?
3. Write the linked list algorithms
4. How do you write own class to order the hashmap elements by using arraylist but not using comparator interface?
5. Write a join query for employee(id,name) and employee address (id,addresd) table
 6. Why you choose spring framework instead of other frameworks
7. How do you achieve transactions in spring

No comments: