Explain JDBC driver types. What is scrollable result set? [5]
Event Handling
1.
Why do we need event handling? Explain the use of action event with example. [5]
GUI with JavaFX
1.
What is JavaFX? Compare it with swing. Explain FlowPane layout of JavaFX. [5]
Network Programming
1.
Write Java program that send messages with each other using TCP socket. [5]
Programming in Java
1.
Explain feature of object-oriented programming. Create a class Distance with private variables feet of type integer and inches of type floating point. Use suitable constructor, and methods for adding and comparing two distance objects. [Hint: 1 feet = 12 inches] [10]
2.
What is multithreading? How can you create multithreaded program in Java? Explain. [5]
3.
Write short notes on: a. Final class b. Result set [2.5+2.5]
Servlets and Java Server pages
1.
Define JSP. What are the benefits of using JSP? Create a HTML file with two text fields to first name and last name. Create a JSP file that reads data from the HTML form and display full name. [10]
2.
Compare JSP with servlet. What are different implicit objects in JSP? [5]
User Interface Components with Swing
1.
Why do we need layout management? Explain any two layout managers with example. Write a simple GUI program that displays 'Hello World' in a text field. The program should display output if user clicks a button. [10]
2.
What is grid layout? Compare grid layout with grid bag layout. [5]