You are on page 1of 12

Expt. No.

Date:
Page No. :

PROGRAM-i5
Implunentatn ot Access
Speci7is
rlass
cessspei<ivt
psevae int pvatVat 103
delolt Vay=20:
pueteclad pttetd Vay = 30;
publie pubic Vay = 05

peivata vaid pvatt Methcd(

Jysen .aut. peirtl (Rolati Methad;

loaultMetth aol

totr .Ou. puinlln (Defoul Methed"

Jyelan. Qat. pstinlln oatrcod Methed);

Teacher's Signature :
Date:
Expt. No.
Page No. :

publii publicMethod)

Systirm.outopintio(Pahlie Methed");

Publle cclass Mausf


void
public itatc voi mair (itugl ang

LAcessSp eciliy

tem.eel.
+ A.pselactod Var );

:
Systrmaut. poinlln(Puble Variable
+ d.public Va);

Teacher's Signature:
Date:
Expt. No. Page No. :

PeosRA M16

and
Lmp lenertat et Opetatooes
Conttia Stotanett

OpeyaTescs ArrdConol SIatonena

publ

poduct
9uotiet

Roodect

aroout. p tintlo (6 RarDaindar

Teacher's Signature
Date:
Expt. No.
Page No. :

booloan &sEqual nuo2);


boo lc cn
boclean
isNotEqual
Guteatest
(purnI
= (rol n n 2);
baalean

Lys tamo Qut. psints |o Relational Opeatasi


qual)i
Equal
systnoQt. Aintlo(Ts Goyeatos
Less

Patve);
(x==0)

Nama
doy
Teacher's Signature:
Date
Expt. No.
Page No. :

2teh (aay
Case
(6
,Name Suncloy"i
day Name
betak;
iMorda
Name
beceak

olayNane
bieak

loyame
TFwclo
Cale

Tedoy
Teacher's Signalure:
Date :
Expt. No. Page No. :

Poregam
a Voib lo

clas Scepe And L i e

LEta te ert global Voy = 10;

Void
(Sting
docal VaI = 5
tarsat pocentln ( Gelobal Vasiasle i
+ global an)g
auto asirto (c6 Lacal Vauaale
Local a1)

mettb od ith LocalVay ();

/ Systro . Cut. pointlh («Local Vaahle 2i

Teacher's Signature
Date :
Expt. No.
Page No.

voed mathodht Local ayl)

Let docal Voay2 =8 ;


amoaut paunt ( Local Vasabu2:
loal Vay2);
Lys Tiro. ati pseintln (0 Gelebal
Iniid Meth cd + gleber Var);
2

Teacher's Signature :
Date:
Expt. No.
Page No.

WAP to Math
abaw arnplernertal t
lais PP Class e

appey las

elass Remoopper
publi italic Vad man (stig

(42);
Trtig Intzg
Systinc Qut sntlo ( wiappey IrtEyy
- 99

rew Intig (6C42);


Irog

imitive

Irtige1
Teacher's Signature
Expt. No.
Date
Page No.

Systmo.Orte Psinttn (i6Con vesetirg


99
+x); stuig

Sy stim Qut pintls (


Corverctng Stg

ü} Math Cla
Mathclas

pub

dauble abs Val = Math- ab(-56;


Sylemot. pintn
(Absaluta Valie i
t cbsal);

Sq,Root = Math. sqoct-(25);


pints (c6
Squa
SRoot ;

double pawheselt =Ma-th pec (2.3;


Systor

Teacher's Signature
Expt. No. Date:
Page No.

= Mat ceil (t.345


LsLeuawn Math.
Math. oor(t. tf);

tm.euti pcinto(Reupd ipi + Roundip


+

rax = Math.rax (L0, 20)


= Math o m (10, 20)5

+ mi

senbe tander = M t h o n d e ) :
Sys tom.0uto pino( Random ne
tanam

Teacher's Signature:
Signature: Teacher's
mothod)
(Gosphisj paint vaid puble
ad); meth
atl)
SyaamGuutin
Stasetiò (66 to
ataset
l) vaied blEe
Driiaizatian etopinln ( Systeme
init
) vaid pulit
pplt extand yele
pplitle Lelas
Goaphic aut. fava. inpat
Applit applet. ava.
Applut.
dim
PROGRAM-L9
No:. Page No. Expt.
Date
Signature: Teacher's
methad)
void public
tep) (SToppir? pinto Quto Systim
stop) veld
2O)5
(App 20,
No.:Page
No. Expt,
Date:

You might also like