Oop 22
Oop 22
MCA
(SEM II) THEORY EXAMINATION 2021-22
OBJECT ORIENTED PROGRAMMING
2
Qno Questions CO
13
_2
(a) What are uses of this keyword? Explain with proper example. 1
2.
(b) Explain the role of constructor and also explain how sub class 2
P2
24
constructor implicitly call super class constructor in Java.
2E
5.
(d) Write generic Java program that display sum if pass numeric data and 4
.5
P2
(e) Explain difference between AWT and Swing with proper example. 5
|1
SECTION C
3. Attempt any one part of the following: 10x1 = 10
4 4
Qno Questions CO
4:
(a) Explain the compilation and execution process of Java program with 1
:0
proper diagram.
09
Qno Questions CO
(a) What do you understand by Polymorphism? Explain type of 2
-2
(b) What do you mean by abstract class? How abstract class is different 2
0-
from Interface.
|3
MCA
(SEM II) THEORY EXAMINATION 2021-22
OBJECT ORIENTED PROGRAMMING
(b) Explain the use of Buffered Reader and Buffered Writer classes with
suitable example 3
2
13
_2
2.
P2
24
2E
5.
.5
P2
17
Q
|1
4 4
4:
:0
09
2
02
-2
07
0-
|3