Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

2i

\{ . z:,
Max. N1ar S·
Object Ori . Name: . JlljntS
ented l>
tograJJJJJJ'ng Time: 1:30
Section:
o e: SE-103 Roll No: .,

-
tion: A -

\ -- sec -

Q.1. . carries equal marks (S x 2= 10)


. Please uest100
attempt all the questions. Eachq
a) D . am? ex.ample. ers
1n e . s an

e) e eyword ''this'' 1s use ·

Se tion: B
'

t 10cu tso
· account tha classa

c t · h .i:: . num ,e
on.a ns : 1
e .1.0 10,v1ng n1ember functions: . \ess
1
. . a ues rom user. · 051te
e amount It s ou , e \
• · · rawn an10
·

• • • ---= • • • llow1ngs
main().
a vall·!-Y.-ral2;
--
-- ;.....;.e va_l1, val2, and val3 are the objects ot·val - - l.._-ss---_ --_
. 1.
. ----· --··--' • • . - . ·• .

the values to len &height) from the user, 1t also has an abstract method display area to C()ffiplttr ,ll

1/2 L*h and Area ot'Rectangle is L*h

J
,
I

You might also like