These are the latest Interview Questions by Manhattan Associates. i.e., in the Technical round.
Tell me about yourself?
2. Write a program on palindrome (they test your programming knowledge)
3. Write a program to generate Fibonacci series (they test your programming knowledge)
4. What do you know about SingleTon class? and write a program on it and explain how to call the SingleTon class from other class.
5. You explicitly made a SingleTon class reference as null then what happends to other user who is using this SingleTon class reference?
6. What happens when we do like this? i.e., what will be the output?
String s = "Hello";
s.concat("world");
System.out.println(s);
7. If we modify the question like this what happends?
String s = null;
s.concat(“ABC”);
System.out.println(s.toLowerCase());
8. How many ways you can iterate collections? What are they?
9. What is the difference between Enumerator and Iterator?
10. Which method will be called when we call the add() at 1 & at 2
public class A
{
public void add(int a, int b){......}
public void add(float a, float b){.....}
public void add(double a, double b){.....}
public static void main(String ar[]){
A a = new A();
a.add(1,2);----------à1
a.add(1.0,2.0); -------à2
}
}
11. How remove() will work in HashSet class?
12. What is the difference between Hashtable and HashMap?
13. How to reverse a list?
14. What are invariant variables?
15. If we have architecture like this which is seen in below, you will be having the jar files with classes in the D:/> directory. You need to copy all the classes to C:/> directory using ANT?
16. Java supports pass by value or pass by reference?
J2EE
1. What is the difference between dynamic include and static include?
2. How many request dispatchers are there? (As per servlets and jsp’s)?
3. How JVM executes when the anchor statement is like this?
<a href=”servlet/testServlet1” method=”post”>Click Here</a>
4. What is the difference between sendRedirect() and forward()?
5. What is a servlet? And what is the hierarchy?
6. What is the difference between GenericServlet and HttpServlet?
Struts
1. How many different types of action classes are there in your project?
2. Scenario: If there is a login page and you have to take those values i.e., you have to take username and password and store those values in the database. Tell me flow how you will do it.
SQL
1. What is cursor? And tell me different types of cursors
2. What is trigger? And where you have used triggers in your project?
3. What are joins? And tell me what are different joins are available?
4. Do we need compulsory two tables to use joins?