Short Answer Questions

Short Answer Questions

1. Explain the step-by-step process of creating and executing a Java program.
2. Differentiate between Class and Interface.
3. What is a ClassLoader in Java?
4. What are the restrictions on Java static methods?
5. What is method overloading? Can constructors be overloaded? Justify.
6. Define polymorphism in Java.
7. What are checked exceptions? Give an example.
8. What is Dependency Injection?
9. What is the role of Hibernate in Java-based web development?
10. What is the MVC design pattern? List its components.
11. What is URL Rewriting?
12. What are CLOB and BLOB data types?
13. What is a PreparedStatement in JDBC?
14. What are Java Lambda expressions?
15. What is session management in web applications?
16. What is the front controller in Spring MVC?
17. What is @Scope annotation in Spring?
18. What are JSP directives?
19. What is JSP exception handling?
20. What is HQL (Hibernate Query Language)?