Thread: Interview Questions

Forum : Hibernate Core and Annotations.   21 Apr, 2016 04:00
User Image
Abhisek1424

Newbie

Joined: 20 Apr, 2017

Points: 100

Threads: 1

Posts: 0

Interview Questions

| Quote Date : 21 Apr, 2016    Views:1840    

Interview Questions [code] 1. Difference between annotation and interface? 2. Difference between String, StringBuffer, StringBuilder? 3. Internal data structure used in AL? 4. Find duplicate numbers from an Array? 5. String anagram? 6. Occurrence of each word in String? 7. Java is what pass by value or reference, justify? 8. Oops concept? 9. How to create custom exception? 10. How to create custom error? 11. Servlet life cycle? 12. Jsp implicit objects? 13. What is IOC? 14. Different types of Injection? 15. How to make employee object as key in hashmap? 16. What is PrepareStatement? 17. What are the methods available in resultset? 18. How to traverse a resultset in reverse order? 19. How to update data in resultset? 20. What is Agile? How you are using agile in your project? 21. Difference between Agile and Waterfall? 22. MVC architecture? 23. How to integrate WS with Spring? 24. How to integrate Restful with Spring? 25. Types of IOC? 26. Difference between ApplicationContext and BeanFactory? 27. How to manage transaction if there are multiple transactional resources(database, jms)? 28. What is spring transaction? 29. How to execute store procedure in java? 30. Difference between HashMap and HashTable? 31. What happen when we are using annotation? 32. Http status codes? 33. Difference between put and post? 34. What are the different http methods? 35. What is Hibernate Dialact? 36. What is HibernateTemplate and what are the advantages of using HibernateTemplate? 37. Define your project architecture? 38. What is CI? How to use Hudson? 39. What is CDN server? Why it is used? 40. How website is hosted? 41. What is scrollable? 42. How to redirect a .htm page to a .jsp page in spring? 43. If there is a css file for a table which is included into a jsp page and if you are overwriting the stylesheet in the jsp file for the table then what will happen?Will it reflect the jsp styles or css file style? 44. How to make a class singleton? What happen if I have a custom classloader , will the singleton class will work or not? 45. Define the classloader hierarchy? 46. Bean Life cycle? 47. Bean scopes? 48. Difference between Struts and Spring? 49. Difference between SOAP and Rest? 50. When destroy method will be called in a servlet? 51. How to create a session inside a servlet? 52. What are the exceptions thrown by a DAO class in spring? 53. If there is a complex query how do you execute it? Will you take the help of hibernate or native sql query? 54. How to normalize with the help of Hibernate? 55. What are the new features added in jdk1.8, explain? 56. Annotation support is there in Hibernate3 and Hibernate4? 57. What is the percentage of code coverage in your project? 58. What are the different ways to crate a servlet? 59. Which method will be called in a servlet when a request is coming? 60. If multiple requests are coming how many objects will be crated for the servlet? 61. What is a marker interface? 62. What do you mean by persistency? 63. What is DriverManager? 64. Difference Aggregation and Composition? 65. What is caching in Hibernate? What are different levels of caching available? 66. What are the other ORM frameworks available in market? What is the difference between them and Hibernate? 67. What is Mocking? What are the libraries available in market? Which one you are using? 68. What is PrepareStatementCreator? 69. If you are using ApacheCXF and if you want to expose them as rest resources, then how to do it? 70. How did you get the offer letter from your previous company? 71. Why are trying to change the company? 72. Why do you want to join a startup company(Asked in a startup product based company)?if you got a offer letter from Congnizant or any big company and if you got another offer letter from a startup company then which one will you join( Both are offering the same salary package)? 73. Why did you came to Bangalore? 74. How much salary you are expecting ? Justify ? 75. What do you mean by Techno function?(If you are mentioning in your resume that you are Techno function then they are asking , How do you became a Techno function within 3year)? [|code]

tags: hibernate

Comments

User Image
Brijesh

Newbie

Joined : 29 Jun, 2017

Points : 100

Threads: 0

Posts: 5

Re: Interview Questions

Reply Date : 4 Dec, 2017

Thanx

User Image
pnkjSharma

Newbie

Joined : 25 Jun, 2017

Points : 105

Threads: 18

Posts: 27

Re: Interview Questions

Reply Date : 4 Dec, 2017

tnqu

User Image
surya1

Newbie

Joined : 12 Jul, 2017

Points : 100

Threads: 0

Posts: 3

Re: Interview Questions

Reply Date : 4 Dec, 2017

Thanks

User Image
Mahesh2528

Newbie

Joined : 20 Apr, 2017

Points : 100

Threads: 7

Posts: 49

Re: Interview Questions

Reply Date : 21 Apr, 2016

thanks a ton :)

Load More

No More Comments