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.