0% found this document useful (0 votes)
3 views2 pages

Java Passing Questions

The document outlines a comprehensive set of questions covering Core Java, OOP concepts, GUI and event handling, networking, JDBC, and critical differences between various Java components. Each section includes specific topics such as overloading, constructors, thread lifecycle, event classes, JDBC architecture, and differences between classes and interfaces. It serves as a study guide for mastering Java programming concepts and practices.
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)
3 views2 pages

Java Passing Questions

The document outlines a comprehensive set of questions covering Core Java, OOP concepts, GUI and event handling, networking, JDBC, and critical differences between various Java components. Each section includes specific topics such as overloading, constructors, thread lifecycle, event classes, JDBC architecture, and differences between classes and interfaces. It serves as a study guide for mastering Java programming concepts and practices.
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

JAVA 100% Passing Questions

Part 1: Core Java & OOPs


1. Explain overloading or compile-time polymorphism or static binding.
2. Explain constructor and its types.
3. Describe interface with multiple inheritance.
4. Define thread and explain 2 ways to create a thread.
5. Explain the concept of overriding or runtime polymorphism or dynamic binding.
6. Explain package and give syntax to create a package and access a package.
7. Define array with its types and examples.
8. Explain the Thread lifecycle in detail.
9. Explain any four methods of StringBuffer / String / Vector.
10. Describe Command line arguments.
11. Explain Access specifier / Access modifier / Access level / Visibility Mode.
12. Explain the Try – Catch – Finally blocks with examples for Exception handling.

Part 2: Graphical User Interface (GUI) & Event Handling


13. Explain the following Event Classes:
○ ActionEvent, ItemEvent, TextEvent, MouseEvent, KeyEvent, WindowEvent.
14. Explain Event Listeners and their Methods:
○ ActionListener, ItemListener, MouseListener, KeyListener, WindowListener,
TextListener.
15. Explain JScrollPane and JTable with examples.
16. Explain the Constructor and Methods of the following components:
○ JComboBox, JRadioButton, JLabel, JButton, JTextField, JCheckBox, JPanel.
17. Explain GridLayout, FlowLayout, and BorderLayout with examples.
18. Explain Methods and Constructors of: Label, TextField, Checkbox, Button, TextArea, Panel,
Window.

Part 3: Networking, JDBC & Database


19. Explain factory and instance methods of the class InetAddress with a program.
20. Describe the JDBC architecture.
21. Explain the methods and types of ResultSet.
22. Explain the method and constructor of Socket and ServerSocket.

This PDF is created by Pupils work : SUBSCRIBE NOW!


Follow now on INSTAGRAM
23. Explain two-tier and three-tier architecture of JDBC.
24. Explain the four types of JDBC drivers.
25. Explain the constructor and methods of the URL class with an example program.
26. Explain the URLConnection class methods with an example.

Part 4: Critical Differences


27. Write the difference between the following:
○ Class vs Interface
○ String vs StringBuffer
○ Array vs Vector
○ Swing vs AWT
○ TCP vs UDP
○ Statement vs PreparedStatement

This PDF is created by Pupils work : SUBSCRIBE NOW!


Follow now on INSTAGRAM

You might also like