21CS642 JAVA IMP
21CS642 JAVA IMP
3 How to use an enum constructor, instant variable and method Explain with
example.
11 1What is an Annotation?
12 What is Wrapper class? Explain the foilowing with example
Boxing
Un-Boxing
Auto-boxing
Auto-unboxing
MODULE 2
MODULE 3
MODULE 4
5 List the difference between JSP and servlet and also explain the different
JSP tags with
example.
6 What are cookies? How cookies are handled in JSP? Write a JSP program
to create and read a cookie.
(10 Marks)
8 Write a program using servlet which contains HTML page with various
color options. When user choose 8th.
particular color, the background of that page should be changed accordingly.
(08 Marks)
JSP.
MODULE 5
1 What are database drivers? What is JDBC? Explain the different JDBC driver
types.
10 Explain the use of object in establishing the connection also write a program
to call stored procedure