TYBSC CS CS 355 Object Oriented Programming Using Java I
TYBSC CS CS 355 Object Oriented Programming Using Java I
38
P-1304 [Total No. of Pages : 2
ic-
tat
[6055]-305
5s
T.Y. B.Sc.
2:0
31 1
1
0:3
COMPUTER SCIENCE
6/2 02
CS-355: Object Oriented Programming using Java - I
1
(2019 Pattern) (Semester - V) (CBCS) (Paper - V)
02
8 2 P0
A
38
1) All questions are compulsory.
7.3
ic-
2) Figures to the right indicate full marks.
tat
5s
.24
2:0
49
a) What is javadoc?
31
01
02
c) Define Constructor.
0/0
CA
82
38
7.3
-
e) Write the use of extends key word. tic
8.7
sta
.24
11
:32
i) What is AWT?
06
A
0/
P.T.O.
49
Q2) Attempt any FOUR of the following : [4 × 2 = 8]
38
a) Differentiate between String and StringBuffer class.
ic-
tat
b) State any four features of java.
5s
c) What is polymorphism? How to implement it at compile time?
2:0
31 1
1
0:3
d) How to define and handle user defined exception?
6/2 02
e) What is listener? How to inherit it in program?
1
02
8 2 P0
A
a) Write a java program to copy the content from one file to another file,
38
7.3
ic-
tat
b) Write a java program using swing to accept details of employee (eno,
5s
.24
2:0
49
11
c) Define abstract class shape with abstract method area (). Write a java
0:3
02
by clicking on a button.
38
7.3
-
b) Explain the uses of super keyword with example. tic
8.7
sta
c) What is string? Explain its any three method with an example.
.24
:05
49
11
:32
7.3
8.7
.24
49
[6055]-305 2