BCS306A
BHEEMANNA KHANDRE INSTITUTE OF TECHNOLOGY, BHALKI.
DEPARTMENT OF CSE
2nd IA TEST
OOP with JAVA
CLASS: III sem A,&B MAX MARKS: 15
TIME: 1Hr Date: 13-12-2025
NOTE: ANSWER ONE FULL QUESTION FROM EACH PART
MODULE–2
Q.1 (a) Define constructor, overloaded constructor with appropriate (2M)
programming example.
(b) Write in detail about the Garbage collection in java. (2M)
(c) What do you mean by method overloading. Explain (3.5M)
with an example program.
OR
(a) With an example program show how objects are passed as parameters. (2M)
Q.2
(b) Define Recursion. Write a program to find the factorial of a given (2M)
number 5.
(c) What is the use of keyword final in java. (3.5M)
MODULE–2
(a) Define Inheritance along with an example program. (3M)
Q.3
(b) with an example program show the usage of keyword super in case of (4.5M)
inheritance.
OR
Q.4 (a) Define class Overriding along with an example program. (4.5M)
(b) Write a program with inheritance to find the volume of a box object. (3M)