Tutorial List
Home
Interview Questions
Interview
Interview Questions
Links
Web Home
About Us

Java Interview Question

Java Interview Questions:
This has been a favorite and frequent point of discussion among Professionals. I have seen many Java Interview Questions on Internet but I feel most of them are more likely Java Exam Question not interview question. So I decided to list all interview question I came across as this is the thing that matters when you are dreaming for salary hike, brand name, better work etc...
Whatever, Interview question are really important as they give you confidence and better chance to crack the interview. As at that time of job interview, Not only your technical expertise but the way you explain and answer your Interviewer is more important.
I have a set of around 40 question which I extracted from various interviews and companies. My experience says, if you can answer 80% of these question, there are 99% chance you will clear the interview. For time being, I am providing questions only and leaving the task of finding solution at you, but as soon I get some time, I will also provide solution to these questions.
Here You Go,
2. What is the difference between Interface and Abstract class?
3. What are wrapper classes?
4. In which case wrapper class will fail
6. What is the difference between String buffer and String builder?
7. What is multithreading and thread safe
8. What is difference between Runnable and Thread? Why Runnable is provided?
10. What is factory method pattern
12. What is Struts, explain its architecture?
13. Why to use struts over Spring
14. What is controller in struts
15. Where we define struts configuration?
16. Can we have more than one config file.
17. Explain Action class.
18. What is difference between DyanForm and ActionForm
19. What is request processor?
20. What is tile?
21. How you can use hibernate with Struts?
22. What is Hibernate, how to configure it?
23. Why to use Hibernate
24. What is your code base?
25. What is logging? Which logger you use and how to
Configure it?
26. What are Servlet and JSP? How they are different.
27. How to make thread safe or unsafe servlet
28. How to display data on Jsp?
29. What are the method provided with Servlet
32. Where we close connection?
33. What is SQL Injection?
36. How you handle transaction in your application?

Just try out finding there solutions, until I provide them here :)
Wish you all the best for Interview!

Thanks,
Mohit Singh