CTS Java Interview Questions

Company Name :  Cognizant (CTS)

Interview Questions:

  1. What is stack and heap memory in java?
  2. What is runtime exceptions? Give some examples?
  3. Write a actual singleton java class?
  4. Difference between Hashtable & HashMap ?
  5. In what cases you will use Abstract Class and Interfaces?
  6. How do you declare a page as Error Page. What tag you include in a JSP page so that it goes to specified error page in case of an exception ?
  7. Difference between Include Directive and Include Tag ?
  8. What is the importance of SessionFactory in Hibernate?
  9. Difference between merge() and Update() methods?
  10. Difference between page and pagecontext in jsp ?
  11. Difference between sting and string buffer class ?
  12. What is the difference between doPost and doGet methods?
  13. What’s the difference between forward and include tags? What URL (absolute or relative) is used in RequestDispatcher forward?
  14. What is Difference between iterator and list iterator?
Attended Any Interviews? Please send us Questions to 

Search: