0% found this document useful (0 votes)
27 views1 page

Question Bank Java (UT2)

The document is a question bank for CT2 that includes various programming tasks and concepts related to Java, such as constructors and methods for different controls, event handling, and JDBC API. It covers topics like Checkbox control, KeyListener interface, JTree events, and the differences between AWT and Swing. Additionally, it includes practical programming exercises involving URLConnection, DatagramSocket, and updating records using JDBC.

Uploaded by

niktamahadik2507
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views1 page

Question Bank Java (UT2)

The document is a question bank for CT2 that includes various programming tasks and concepts related to Java, such as constructors and methods for different controls, event handling, and JDBC API. It covers topics like Checkbox control, KeyListener interface, JTree events, and the differences between AWT and Swing. Additionally, it includes practical programming exercises involving URLConnection, DatagramSocket, and updating records using JDBC.

Uploaded by

niktamahadik2507
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

JPR QUESTION BANK FOR CT2

1. Write constructor and methods of Checkbox control? Explain the terms.


2. Write a program using KeyListener interface to handle key events.
3. Write a program using JTree to handle events.
4. Write constructor of ActionEvent class? Explain the terms.
5. Differentiate between AWT and Swing.
6. Write constructor and methods of Frame window class.
7. Write a program using JTextField in Java.
8. Write a program of URLConnection class.
9. Write constructor and methods of DatagarmSocket and DatagramPacket class.
10. Describe URL class and write its constructor’s.
11. Write a program using InetAddress class to implement its factory methods.
12. What is JDBC API? Explain.
13. What is the use of DriverManager class? Write its methods.
14. Describe JDBC Drivers.
15. Write a program using JDBC to update a record in table.

You might also like