Unit 1: Classes, Objects, Control Statements & Arrays
1. Explain Classes and Objects in Java with suitable example.
2. Describe Java Development Environment (JDK, JRE, JVM).
3. Explain Constructors in Java with types and examples.
4. Differentiate between Primitive Data Types and Reference Types.
5. Explain Getters and Setters with example program.
6. Discuss Memory Management in Java.
7. Explain Arrays in Java (1D & 2D) with example.
Unit 2: Modularization & Packages
1. Explain Java Packages and their advantages.
2. Describe Static Members in Java with example.
3. Explain Method Overloading with program.
4. Explain Scope of Variables in Java.
5. Discuss important Java API Packages.
Unit 3: Inheritance & Polymorphism
1. Explain Inheritance in Java with example.
2. Describe Types of Inheritance supported in Java.
3. Explain Polymorphism with suitable example.
4. Explain Abstract Class and Interface.
5. Difference between Abstract Class and Interface.
6. Explain Constructor in Inheritance.
7. Explain Object class methods.
Unit 4: Exception Handling & Generics
1. Explain Exception Handling Mechanism in Java.
2. Describe Types of Exceptions with examples.
3. Explain try–catch–finally block.
4. Explain Java Exception Hierarchy.
5. Explain Generics (Parameterized Classes).
6. Explain Iterator Interface with example.
Important Code-Based Questions
1. Class, Object & Constructor
Q1. Write a Java program to create a class Student with constructor and display details.
Q2. Write a program to demonstrate getter and setter methods.
2. Control Statements & Arrays
Q3. Write a Java program to find the largest element in an array.
Q4. Write a program to print even and odd numbers using loop.
Q5. Write a Java program to calculate factorial of a number using for loop.
3. Method Overloading & Static
Q6. Write a Java program to demonstrate method overloading.
Q7. Write a program to demonstrate static variable and static method.
4. Packages
Q8. Write a Java program to create and use a package.
5. Inheritance
Q9. Write a Java program to demonstrate single inheritance.
Q10. Write a program to show constructor calling in inheritance using super.
6. Polymorphism
Q11. Write a Java program to demonstrate runtime polymorphism.
Q12. Write a program to show method overriding.
7. Abstract Class
Q13. Write a Java program using abstract class and method.
8. Interface
Q14. Write a Java program to implement interface.
Q15. Write a program to implement multiple inheritance using interface.
9. Exception Handling
Q16. Write a Java program to handle Arithmetic Exception.
Q17. Write a program using try–catch–finally block.
Q18. Write a Java program to handle InputMismatch Exception.
10. Generics & Iterator
Q19. Write a Java program to create a generic class.
Q20. Write a program using Iterator to traverse ArrayList.