0% found this document useful (0 votes)
2 views

Advance Java Asignment

The document outlines an assignment consisting of various questions related to Java GUI programming, event handling, JDBC, and servlets. It includes topics such as the differences between Swing and AWT, the use of panels in GUI applications, adapter classes, and JavaBeans. Additionally, it requires the creation of Java programs for displaying student records and calculating simple interest.

Uploaded by

pravesh koirala
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Advance Java Asignment

The document outlines an assignment consisting of various questions related to Java GUI programming, event handling, JDBC, and servlets. It includes topics such as the differences between Swing and AWT, the use of panels in GUI applications, adapter classes, and JavaBeans. Additionally, it requires the creation of Java programs for displaying student records and calculating simple interest.

Uploaded by

pravesh koirala
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Assignment -1

1. How swing is different from AWT? Draw swing class hierarchy diagram showing containers and
components.
2. Why do we use panel while creating GUI applications in java? Explain the components of the
event handling model in java.
3. What are the adapter classes? What is the benefit of using adapter classes in java while creating
events in GUI programs? Explain with an example.
4. Write a java program to display the records of the students who have got distinction and have a
major subject Data science. Assume that the student table is in database College and contains
the columns Rollno, Name, Level, Division and Major.
5. Write a GUI program to calculate simple interest.
6. What is javabean? Explain different types of properties in javabeans.
7. Compare result set with row set. Explain prepared statement with example.
8. What is servlet? Discuss its life cycle.
9. Explain different types of JDBC driver.
10. What is adapter class? Explain advantages of adapter classes over Listener interface with
suitable example.

You might also like