Tuesday, 14 October 2014

TCS Interview Question and Answer


Hello Guys, Today I am going to give you good opportunity to crack Java / J2EE interview at TCS (Tata Consultancy Services).
Please read this questions carefully there are some tricky questions too, which might make you confuse.
Always remember there is nothing which you don't know about these questions.
So Let us start.
  1. Tell me something about yourself.
  2. On which projects you have worked
  3. What are the Frameworks you used
  4. Tell me something about String Object, explain
  5. What is the difference between following two lines (1 and 2)
    String x="abc";

    (1). "abc".equals(x);

    (2). x.equals("abc");

  6. What is the difference between sleep and wait method?
  7. What is abstract class?
  8. Does abstract class have constructor?
  9. How many ways to not allow class to be inherit to sub class?
  10. What is method overriding
  11. What is method overriding and overloading
  12. Difference between Stringbuffer and StringBuilder?
  13. What is checked and unchecked exception?
  14. Type of interface
  15. What is BlockingQueue?
  16. Difference between Set and List
  17. Which are two method of Object class override by Set to identify the uniqueness of an objects
  18. What are the classes of Struts?
  19. Which design pattern used by struts?
  20. How to show HQL query converted to SQL?
  21. What is advantage of using Hibernate

No comments:

Post a Comment