Bsc Computer Science Cs Semester 5 2023 April Object Oriented Programming i Core Java 2019 Pattern
Bsc Computer Science Cs Semester 5 2023 April Object Oriented Programming i Core Java 2019 Pattern
/
-
t/ 5
.@fl{HUTER scrENCE
cs-355: obifdFbrffited Prosramming using Java - I
(20Le Pa,ffirtn1=ff**ster - \r) (CBCS) (Paper - \r)
TIme: 2 HoursJ
Instractions ta
:I' [Msx Marks : 35
1)
\y 2) Figursq tb the right indicate
' full marks. il
i.{'
,:&
1.:,1
n-. a
l''}
Ql) Attempt any Eight of the foltowing d'* t'-,'
[8x1:8]
a) What is javadoc?
b) What are command line
".
c) "*i
Define Constructor. !.1'5uu.1*'
_,,,'.,
.- -T.:,:*1'1' ,.%
d) List any two wrappQi glerssqe,f
e) Write the use of extendsfiy word. ,
i,,,*
j.r ,
#t {o'
h) How to open file in read mode ? - .;r"
-''*;5' .t-b--'
r"\
" ,\.,f
D What isAWT? .
*=tS='
r';
^
T.3*,rr' .,"
a) W;ite a jgya program to copy the content from one file to another file,
*tli" cofying change the case of alphabets. \J
b) java program using swing to accept {,gtfoi. of employee (eno,
Wrft================ir
*,,.".\
c) What is string? Expla!ffi its any three method with an example. ,l. !)/
*\ -
.'.$''
L'"""
85) Attempt any ONE of the following ,;#" . ' [1 x 3 : t 3]
'%-*'*' .|+
a) Explain the execution process ofjava prograrpiq.
-
,':""
1,,..
t
[ooss1-3os