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)
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?
Nice and helpful questions indeed. I must admit that I do not know to answer all of them. ;)
ReplyDeleteAnswers would be helpful
ReplyDeleteI made a post for the answers.
ReplyDeletehttp://bateru.com/news/2011/03/484/
Please correct me if I'm wrong.
Thanks for putting them up.
ReplyDeleteI'm pretty sure 14 & 15 aren't Java.
ReplyDeleteBut they are asked in Java Interview.
ReplyDeleteHi,
ReplyDeleteThanks for these interview questions. here is some of my old favorites :
Why String is immutable in Java
Difference between HashMap and HashTable? Can we make hashmap synchronized
Thanks
Javin
14th and 15th questions are not from java,they are from SQL.
ReplyDeleteInterview Questions
As mentioned above, interviewers do check for SQL knowledge in Java interviews.
ReplyDeleteI have written a blog post about Top 20 Core Java Interview questions asked in Investment Bank ,you may find it interesting.
ReplyDeleteThank you for sharing this questions.
ReplyDeleteInterview Questions
these questions are useful
ReplyDeleteGreat Post. Thanks. Java Developers also check www.javacpass.com (niche java and c/c++ job board)
ReplyDeleteEvery 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.
ReplyDeleteInterview Questions
Good... .For More Questions Visit http://www.javastuff.in/
ReplyDeleteNice Blog. You have any interview doubts pls follow
ReplyDeletethis link
Job Interview Tips
15th questions are not from java,they are from SQL.
ReplyDeleteFor this reason I refer your to all of u..Thanks..Keep post..
ReplyDeleteFor this reason I refer your to all of u..Thanks..Keep post..Fresher Jobs in
ReplyDeleteChennai
15th questions are not from java,they are from SQL.Jobs in Bangalore
ReplyDeleteBut they are asked in Java Interview...
ReplyDeleteJobs in Bangalore
Nice and helpful questions indeed. I must admit that I do not know to answer all of them. ;)
ReplyDeleteThanks for sharing, I will bookmark and be back again
Nice Collections of java Interview question. It really helpful for beginner as well as developer.
ReplyDeleteCheck 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!!
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