Java Interview Questions and Answers Asked in Cyber Software

Java Interview Questions and Answers asked in Cyber Software Solutions


Company Name :  Cyber Software Solutions

Sent By:  Pavan Kumar

Interview Questions:
  1. Explain Struts flow ?
  2. Explain Validations in struts?
  3. What is jsp init()?
  4. Difference between Vector and arraylist?  View Answer
  5. Difference between Hashtable and hashmap? View Answer
  6. Difference between int and Integer ?
  7. What is garbage collection View Answer
  8. Spring dependency injection? View Answer
  9. Difference between Struts mvc and Spring mvc
  10. What is Spring AOP ?
  11. Write a HQL query?                                                                      Ans: HQL stands for Hibernate Query Language. Hibernate allows the user to express queries in its own portable SQL extension and this is called as HQL. It also allows the user to express in native SQL.
  12. write a named query and retrive the data from it
  13. Difference between get() and load() diff in hibernate ?
       Load() method:
    • Only use the load() method if you are sure that the object exists.
    • load() method will throw an exception if the unique id is not found in the database.
    • load() just returns a proxy by default and database won't be hit until the proxy is first invoked.
      Get() method:
    • If you are not sure that the object exists, then use one of the get()methods.
    • get() will hit the database immediately.
    • get() method will return null if the unique id is not found in the database.                             
  14. how to integrate struts and hibernate
  15. polymorphism View Answer
  16. Write a mapping file in hibernate
  17. Which  configurations available in hibernate configuration file
  18. what is the use of reset method in actionform
  19. Difference between forward and send redirect?
  20. implicit variables in JSP ? View Answer
  21. JSP declaraions and expresions sytax
  22. How to write jsp comments?

Kindly Send your attended interview Questions and Answers to faqs@javastuff.com

Enter your email address to get our daily JOBS & INTERVIEW FAQ's Straight to your Inbox.

Make sure to activate your subscription by clicking on the activation link sent to your email


Enter your email address to get our daily JOBS & INTERVIEW FAQ's Straight to your Inbox.

Make sure to activate your subscription by clicking on the activation link sent to your email