Mar 29, 2011

15 Must Know Java Interview Questions After 2 Years of Experience

Interview Questions that every developer should have the answer

Enterprise Java Application development is growing every day and new features being introduced but the the beginners have always start from the basics. The questions listed below are what in general a Java developer should be able to answer after 2 years of experience. (Assuming no prior exposure to Java)


UPDATE: The answers can be found at http://bateru.com/news/2011/03/484/

Core Java
1) What is the purpose of serialization?
2) What is the difference between JDK and JRE?
3) What is the difference between equals and ==?
4) When will you use Comparator and Comparable interfaces?
5) What is the wait/notify mechanism?
6) What is the difference between checked and unchecked exceptions?
7) What is the difference between final, finally and finalize?
JEE
8) What is the difference between web server and app server?
9) Explain the Struts1/Struts2/MVC application architecture?
10) What is the difference between forward and sendredirect?
General
11) How does a 3 tier application differ from a 2 tier one?
12) How does the version control process works?
13) What is the difference between JAR and WAR files?
Databases
14) What is a Left outer join?
15) What is the difference between UNION and UNION ALL?

24 comments:

  1. Nice and helpful questions indeed. I must admit that I do not know to answer all of them. ;)

    ReplyDelete
  2. I made a post for the answers.
    http://bateru.com/news/2011/03/484/
    Please correct me if I'm wrong.

    ReplyDelete
  3. Thanks for putting them up.

    ReplyDelete
  4. I'm pretty sure 14 & 15 aren't Java.

    ReplyDelete
  5. But they are asked in Java Interview.

    ReplyDelete
  6. Interview QuestionsApril 2, 2011 at 11:39 AM

    14th and 15th questions are not from java,they are from SQL.
    Interview Questions

    ReplyDelete
  7. As mentioned above, interviewers do check for SQL knowledge in Java interviews.

    ReplyDelete
  8. these questions are useful

    ReplyDelete
  9. Great Post. Thanks. Java Developers also check www.javacpass.com (niche java and c/c++ job board)

    ReplyDelete
  10. Every try to get useful and good interview questions. For this reason I refer your to all of us. Thanks for sharing such a nice blog.

    Interview Questions

    ReplyDelete
  11. Good... .For More Questions Visit http://www.javastuff.in/

    ReplyDelete
  12. Nice Blog. You have any interview doubts pls follow 
    this  link

    Job Interview Tips

    ReplyDelete
  13. 15th questions are not from java,they are from SQL.

    ReplyDelete
  14. For this reason I refer your to all of u..Thanks..Keep post..

    ReplyDelete
  15. For this reason I refer your to all of u..Thanks..Keep post..Fresher Jobs in
    Chennai

    ReplyDelete
  16. 15th questions are not from java,they are from SQL.Jobs in Bangalore

    ReplyDelete
  17. Nice and helpful questions indeed. I must admit that I do not know to answer all of them. ;)

    Thanks for sharing, I will bookmark and be back again

    ReplyDelete
  18. Nice Collections of java Interview question. It really helpful for beginner as well as developer.
    Check following link too, It is also having a nice collection on java interview question...

    http://mindstick.com/Interviewer/QuestionPage.aspx?topicid=10&topic=Java

    thanks everyone!!

    ReplyDelete
  19. Thanks for sharing, This is useful list. The version control question is not related to Java but I would expect any developer to know that.

    ReplyDelete