Object Oriented Programming with Java
– GTU
Question Paper Analysis
Subject Code: 4341602
Total Papers Analyzed: 4 (2023–2024, Winter & Summer)
Total Questions: 120+
Q.1 – Java Basics and Simple Programs
📄 Winter 2024
(a) Write down the difference between OOP and POP.
(b) What is bytecode? Explain JVM in detail.
(c) Program to sort elements of array in ascending order.
OR
(c) Program to find maximum from any 10 numbers using command-line arguments.
📄 Summer 2024
(a) Explain the basic structure of Java program.
(b) List out different features of Java. Explain any two.
(c) Program to find sum of digits of a number (e.g., 123 → 6).
OR
(c) Program to find maximum from any 10 numbers using command-line arguments.
📄 Winter 2023
(a) List basic OOP concepts. Explain any one.
(b) Explain JVM in detail.
(c) Program to print Fibonacci series for `n` terms.
OR
(c) Program to find minimum from any 10 numbers using command-line arguments.
📄 Summer 2023
(a) List basic OOP concepts. Explain any one.
(b) Explain JVM in detail.
(c) Program to print Fibonacci series for `n` terms.
OR
(c) Program to find minimum from any 10 numbers using command-line arguments.
Q.2 – Constructors, JVM, Overloading & Java Features
📄 Winter 2024
(a) What is wrapper class? Explain with example.
(b) List Java features. Explain any two.
(c) What is method overriding? Explain with example.
OR
(a) Explain Garbage collection in Java.
(b) Explain static keyword with example.
(c) What is constructor? Explain copy constructor with example.
📄 Summer 2024
(a) List OOP concepts. Explain any one.
(b) Explain JVM in detail.
(c) Explain constructor overloading with example.
OR
(a) What is wrapper class? Explain with example.
(b) Explain static keyword with example.
(c) What is constructor? Explain copy constructor with example.
📄 Winter 2023
(a) What is wrapper class? Explain with example.
(b) List Java features. Explain any two.
(c) What is method overloading? Explain with example.
OR
(a) Explain Garbage collection in Java.
(b) Explain final keyword with example.
(c) What is constructor? Explain parameterized constructor with example.
📄 Summer 2023
(a) What is wrapper class? Explain with example.
(b) List Java features. Explain any two.
(c) What is method overloading? Explain with example.
OR
(a) Explain Garbage collection in Java.
(b) Explain final keyword with example.
(c) What is constructor? Explain parameterized constructor with example.
Q.3 – Inheritance, Access Control, and Interface
📄 Winter 2024
(a) Explain super keyword with example.
(b) List types of inheritance. Explain multilevel inheritance.
(c) What is interface? Explain multiple inheritance with example.
OR
(a) Explain final keyword with example.
(b) Explain different access controls in Java.
(c) What is package? Steps to create it with example.
📄 Summer 2024
(a) Explain any four string functions in Java with example.
(b) List types of inheritance. Explain multilevel inheritance.
(c) What is interface? Explain multiple inheritance with example.
OR
(a) Explain this keyword with example.
(b) Explain method overriding with example.
(c) What is package? Steps to create with example.
📄 Winter 2023
(a) Explain super keyword with example.
(b) List types of inheritance. Explain multilevel inheritance.
(c) What is interface? Explain multiple inheritance with example.
OR
(a) Explain static keyword with example.
(b) Explain different access controls in Java.
(c) What is package? Steps to create with example.
📄 Summer 2023
(a) Explain super keyword with example.
(b) List types of inheritance. Explain multilevel inheritance.
(c) What is interface? Explain multiple inheritance with example.
OR
(a) Explain static keyword with example.
(b) Explain different access controls in Java.
(c) What is package? Steps to create with example.