Professional Documents
Culture Documents
Department of Computer Science & Engineering Pre-Semester Examination (2014-15)
Department of Computer Science & Engineering Pre-Semester Examination (2014-15)
Note:
(5x4=20)
(5x4=20)
(10x2=20)
(A) Discuss abstract classes, Inner classes and Interface using Java programming.
(B) What are exceptions? When are they used? Explain with JAVA program.
(C) Write the procedure to create and import package in a Java program. Which event handling
model is used by Java and why?
Q5. Attempt ANY TWO parts of the following.
(10x2=20)
(A) What is swing? How it differs with AWT? Write a program in swing which shows two text
boxes names user id and password and two buttons for submit and cancel. If Submit button
is pressed then the content of text boxes should appear in a Text area.
(B) What is Java Bean? What are their advantages? What are various introspection
mechanisms to infer information about a Bean? Explain with example.
(C) Write short notes on any two:
(i)
JDBC
(ii)
Applet
(iii)
Difference between Java and C++
Page 1 of 1