JanuaryFebruary-2023 76687
JanuaryFebruary-2023 76687
PART – B
pe
(50 Marks)
4.a) Does Java support multi way selection statement? Justify your answer.
23
b) Can inheritance be applied between interfaces? Justify your answer. [5+5]
OR
5. What is an exception? How are exceptions handled in Java programming? Explain with
suitable program. [10]
6.a) Write a JDBC program to update the amount balance in an account after every
withdrawal. Assume the necessary database table.
b) Discuss about parameter passing in RMI, with examples. [5+5]
OR
7. Explain the following methods bind(), rebind(), createSubcontext(), getAttributes(),
modifyAttributes() methods with syntax. [10]
8.a) What is the role of servlet in web application? What are the differences between
HttpServlet and GenericServlet?
JN
b) Present and explain the life cycle of a servlet . [5+5]
OR
9. What is a Layout manager? Discuss different types of layout managers used in JAVA
in brief. [10]
TU
10.a) How is XML defined? Write down the XML syntax and structure rules. What is DTD?
Discuss its applications.
b) Discuss the role of WSDL web service in AJAX. [5+5]
H
OR
11. Design an XML schema for hospital information management. [10]
U
se
---ooOoo---
d
pa
pe
rs
20
23