Oop 1
Oop 1
Oop 1
:
P-9136 [Total No. of Pages : 2
[6179]-262
S.E. (Information Technology)
OBJECT ORIENTED PROGRAMMING
(2019 Pattern) (Semester - III) (214444)
Time : 2½ Hours] [Max. Marks : 70
Instructions to the candidates :
1) Answer Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6, Q.7 or Q.8.
2) Neat diagrams must be drawn wherever necessary.
3) Figures to the right indicate full marks.
4) Assume suitable data, if necessary.
Q7) a) Define the term Stream. Explain various stream classes. [8]
b) Design a Java program for employee management with following
operations - [9]
i) Create file
ii) Write data into file
iii) Read data from file. Consider Name, employee id and department
as attributes of employee.
OR
Q8) a) Which are different types of Design patterns? [6]
b) Explain the Iterator Pattern and its advantages in detail. [6]
c) Explain the Adapter pattern and its advantages in detail. [5]
[6179]-262 2