Maharashtra State Board of Technical
Education
Diploma Examination – Summer 2026
Powered by TechnoSutra
Your Success Partner
Subject: Java Programming
Code: 314317
Instructions:
1. All questions are compulsory.
2. Figures to the right indicate full marks.
3. Assume suitable data if necessary.
Q1. Attempt all questions for 2 marks each:
1. List any four features of Java
2. Define type casting. List its types
3. Define exceptions. List its types
4. Differentiate between AWT and Swing
5. Define event and listener
6. Define synchronization (thread)
7. Write any two uses of super keyword
8. Differentiate between statement and prepared statement
9. Write any four methods of Statement
10. Define static import with syntax
11. Define proxy server and reverse socket
12. Write any two static methods of InetAddress
13. Differentiate between Vector and Array
Q2. Attempt all questions for 4 marks each:
1. Explain garbage collection in Java
2. Explain life cycle of thread
3. Define type casting with examples
4. Explain constructor with its types
5. Explain final keyword (with inheritance / example)
6. Create and access user-defined package
7. Differentiate between TCP and UDP
8. Create login form using JLabel, JTextField, JButton
9. Write program using GridLayout
10. Write program using JComboBox
11. Write program to read data from URL
12. Create two threads (even & odd numbers
Q3. Attempt all questions for 6 marks each:
1. Write program using PreparedStatement (employee/student
database)
2. Explain JDBC architecture / JDBC drivers
3. Write program using JTable (employee details)
4. Write program using KeyListener
5. Write program to change applet background color using button
6. Write program for string operations (reverse, substring, etc.)
7. Write program for custom exception (NoMatchException)
8. Write program to demonstrate interface
9. Write program using UDP communication (login/authentication)
10. Write program using ServerSocket and Socket (even/odd
check)
11. Write program using Vector (add/remove/display/capacity)