Round
1 – Written test
1) Write a program to design
a factory pattern class
2)
Write a program to design Singleton pattern
class.
3)
Print a String in reverse order without
using in build function
Input
“Hello how are you”
Output
“you are how Hello”
4)
How to generate unique random numbers in
java without using in build function
5)
Write a program to Sort Map by Value
6)
Write a program to get unique values from
employee list on the basis of roll number and sort using name, roll no.
7)
Given an unsorted array of integers, find
the length of longest consecutive elements sequence.
Input
[100,4,200,1,3,2]
Output
[1,2,3,4]
Round
2 – Technical Interview
1)
HTTP request and response
2)
HTTP response header
3)
Difference between REST WS and Servlets
4)
Difference between Filter and Servlet
5)
What are Interceptors and two types of interceptors – Pre
Interceptor and Post Interceptor
6)
Association in hibernate -1 to 1 ,1 to many
and many to one
No comments:
Post a Comment