JAVA
Unit I – Introduction to Java & Core Concepts
1. Explain the architecture of the Java Virtual Machine (JVM) and how Java achieves
platform independence and portability.
2. Write a detailed note on Java program structure, main() method, console
input/output, and data types with examples.
3. Explain operators and control statements in Java with suitable examples.
4. Discuss String and StringBuffer classes in Java. Compare immutable and mutable
strings with examples.
5. Explain static data members and static methods in Java with suitable programs.
Unit II – Classes, Inheritance & Interfaces
1. Explain classes, objects, constructors, and arrays in Java with suitable examples.
2. Describe inheritance in Java. Explain different types of inheritance and member
access rules with examples.
3. Explain method overloading and method overriding in Java with suitable programs.
4. Discuss abstract classes and dynamic method dispatch in Java with examples.
5. Explain interfaces in Java, implementation of interfaces, and extending interfaces with
suitable examples.
Unit III – Exception Handling & Multithreading
1. Explain Java exception handling mechanism using try, catch, throw, throws, and
finally with examples.
2. Discuss built-in exceptions and user-defined exceptions in Java with suitable
programs.
3. Explain multithreaded programming in Java using Thread class and Runnable
interface.
4. Describe synchronization in Java. Explain synchronized methods, synchronized
blocks, and interthread communication.
5. Explain deadlock in Java with example and discuss methods to avoid deadlock.
Unit IV – AWT, Swing & Event Handling
1. Explain the AWT class hierarchy and discuss the features of Swing.
2. Describe Swing containers and top-level containers such as JFrame, JWindow, and
JDialog with examples.
3. Explain Swing components: JButton, JCheckBox, JRadioButton, JLabel, JTextField,
and JTextArea with examples.
4. Explain Event Delegation Model (EDM) in Java. Discuss event sources, listeners, and
event handling.
5. Explain handling of mouse and keyboard events in Java with suitable programs.
Unit V – Adapter Classes & Collections Framework
1. Explain adapter classes and inner classes in Java with suitable examples.
2. Discuss the Java Collections Framework and explain Collection and Iterator
interfaces.
3. Explain List interface and ArrayList class with suitable examples.
4. Differentiate between ArrayList and Vector with examples.
5. Explain Comparator interface in Java and demonstrate sorting objects using
Comparator.