Oops Important Questions
Oops Important Questions
10. What is the difference between JPanel and JFrame in Java Swing?
5. Explain the difference between AWT and Swing with a proper example.
1
Section C: Detailed Answer Questions (10x1 = 10)
1. (a) Explain the compilation and execution process of a Java program
with a proper diagram.
(b) Explain 10 features of the Java programming language.
2. (a) What do you understand by polymorphism? Explain the types of
polymorphism with a proper example.
(b) What do you mean by an abstract class? How is an abstract class
different from an interface?
2
2023 Exam Questions
Section A: Brief Answer Questions (2x10 = 20)
1. How are objects implemented in Java?
2. What are the limitations of static members?
3. Write a Java program to create a list.
3. What is meant by Stream, and what are the types of Streams and classes
of the Streams?
4. Write a short note on the following components:
(a) Label
(b) TextField
(c) TextArea
(d) List
(e) Choice
3
Section C: Detailed Answer Questions (10x1 = 10)
1. (a) Explain in detail about Arrays with syntax and example.
(b) Describe in detail the types of inheritance in Java.