Durgasoft SCIP Notes
ski RAGHAVENDRA XEROX
Software Languages Material Available
Beside Bangalore Ayyangar Bakery, Opp. C DAC, Ameerpet, Hyderabad.
Cell: 9951596199aol bong ,
6 © Benes - med
@ Resenved words *
o ® Aroays =
7 © Types 4p Voowabies ==
y
y
+> © mise) meta 5,
2
2
FO vonang sands . (15 vatiad
© Gaminand ~ lire. asagaementa, 2
© Wve coda Gandovds 2
ccececcec occ cteeDPdenkt Pen y—
So
~ A name fo Save. Pooggom fs Catted Sdertiften, IE Gn be
ass Name % Vasdable Marne on Mhetkid name on label nye.
Jpome.
Ear class Tae “
— wore
bev mils
28: v. mao(Stedng (1 on
jee ee
j fot caw; Vio s identifies
bee
a ee ee
* Qteg to AePoe
4) ke Only allowed Chamastess % ova tdenbifien aoe
la es
eerie
0&4
§
> F we ove Uifing any cltes Chaneiter toe oi Spt Grpiletnefowr
Br YAOI ~ member
XK alltt
Ut
Ov cn8$-10
& idenkBer Gank Sabres with dig. i \23+ota)
i 7 boty 93
Y
OO or by
3
>
>
3
}°
3
Qo
G
@Guid
Me
ecce cece
bitp:((iavabynataraj.blogspot.com 3 of 253.“9. Tove. Uentifens one Gresencitve, vA
, Cos, Tent :
; { : f
; fot Nowbea 107} i
; : Tob. NUMBCG og Ue Con Aiffoanciategeo-ort Gag.
) Tok NomBen = a
> f
5
? /
1B hase & no Leng Lam en Tava wenlng/. bok Snob eretnnmend
‘ te take Toads: 15 deogt Gia),
© Reonvted wore Gat be uted aa RenleBenp.
P 99 All Predefined Siva clase names G kePaa gamer we Gn use og
= S +, 7 a -
> 3 Fdenttfens, wee Suntan % fs legar, bok ¥ #% DeGornnendead.
e.
2 chee Tat ois i
: q
5 -
3 ; fo Shing to; t Rurnadle.s Ge a
c > 8.0 pln( Sng); 40 Sopth (Ronnabled 7 Xo
4 y
ie
F TD cof
rm 6 D whic off fotccofy ose valid ava. Sdenkfeas?
re
CS 2 “O Svadshare.
r oO x6
cS shone
2 4X @ all@hands
“Sg 7 O botany shat
ore
9 % © +obelte
GX Ome
Ky
=.
o Ve i
J CO Tolger hitpy/javabynataraj.blogspot.com 4 df 255.
eehittp://javabynataraj. blogspot.com
5 of 2
5.Patntlive datatypes @
J
Numede ditadyps Char datatype Beoteary dato tyres
) Co Seprsent romper) Cio srepictent charocteay OP repeat, logit
+
>
’
> Polegrat datotypes Floatig point datatypes
) Cfo Yepretert fobole nod Go sepeenk Geat dorbuk)
9 Lok !
5 T Bale > Float
[> Shoak
2 Ls toe dlooble
3
List
) "
d
20 Rute +
ao
5 Size = S-bis Co reste yes
a vp
5 Mea 2 FeCrr hoy
y fO-valwe = - 128 ie Rs
9 Rong, = 18 belay ONE
o
97k meat Sypifrand Bik. te Gated” Sgn be" © means, Ve Value | Meare oe
2 value
fo NE PuMbers epresented CHisectly th The, Maneoy (hese 08 ve pumbas
© Bepresctted fy als Compesnenk Lorn,
oO
2 ae b= toy
Oo
o J byle_b =181) ;
http://javabynataraj.blogspotcom 6 of 255.PR byle b= 180} c-€1. pusthle bss
Coecapondig chook okerhite, % also outdated .
I@ int e-
eae 5 5 5
9 > TH most Commignly uted dalstype #§ fot
a) ese
5 Siae + 4. - byes
2 Range sa" 4, $y
2
2 Lotutasscue & aiyrues ut)
2
2 Noteg-
o
: “for Ie-bee poocesscos TE % Bhi bok fe, 22st poocatan' tts 4-byl
THE Wain advantages This appooach f$ Cand § wodle_oporahtstpestonm
OMe eb Roy and Perform Ui be tmpowed. Gok th mot
. st
Or Mesclvantase. dy. hee aptiiach Re chat Aik c prgam,
o © ag vay high #F aca changing. plats fitRerafblengorcolepogeass.
a= Rok fo Sina THC Sih Gok chonys Aly tansy
Any phabfern «TRE mat ocbanfag. fs Tht appacach Fs tke Chance,
ay fallrg awn progoram ® Vay vag le 2P coe ore chiang?
Bloterlngig, phbforme tena Tava: f6 Considered ox Qh leer
* Gok ti smafo icathenlay tn thts apponcch ts Sead ¢ ubile
pass ait Detame Cashiy & PesfosmanG wh be dead.
Sp clonguege & Tova.
> ae nk) oe
+S, S pasforn”
eee Pe be Detated
ie -bs 23-bts
abs AWS,
wv l\U wo
ey
a
geal
4) bong +-
> whi eve Br % Dob enagh—te bad by vale Thin we Shovid
> BP we eaant bo aepretent Seat Hombens Compuisany Coe Shovtd go fey
d
> Ftating paint lata typ.
2
Q-Heaktps Print clola—tepa 2-
5 |,
> Hoarty pork: datatypes
°
3
2 park
2 Son pee teer eeeL CTE
2d Stae + Y-dytes p Sze se
5 bY p See lytes
2) Range + ~3-4ede b 3.4038 | Rong + = t1e30% 4 1+Te0e
a9
7 @c want 6 6 ceva | FE we cont 14 4018 deotimar plca dy
O places 5 Gccuracy “chen we | acteaa
“tap
eee aes Gy “Than we. Chota Qe Kr cooble.
co
D Ploat farorse Sigte prectsin, *) double -Patlows dooble. Precision,
hitp://javabynataraj blogspot.com 10 of 255.
OoBean cate ype?
x)
HB,
a
Stae 2 Not Appltenble Cotituat machine cepandent)
Range. + Not Appoble Cage attawed saber ore sbrse f purse)
Whre +b ~Foltaating boolean decuaalins Ome Valid
KY Boolean b= 07 CEy- focompolatble tapes,
—fand sink
Deqptied + boolean
v5 boolean = kaue;
X 3) boolean b= Thue; ce Cast $a Sygtrieck
Symbot 4 Vavable “Thue
Lociten + class Tests
KD beotear be fers’ cer Meow paddle type
Soond + Sora tang Stacey
pegdtied + boolean
MG boolean “TSue = toue
healen § = Téuc.
Bo pints); toue
Tot x207 ;
#0) — oe toot
: ser while CD
Sopincenc’) ar ploc® Mesto”
4, preC HT); — Ce ancampeltle typ
found + rok
Seed +
Segoe + beslea%up/javabynataraj blogspot.com
See ee
eGe
a
ecccecooceuvuceo
Porass
0.¥
KL only allowed alos for TK boolean clatolyper ore “Loud om
fanc’ hae Gse 1S Hipp
chan dotn-type .
=~
+ Sp ald languagea Like ¢ Crt we Gn vie Only ASCH Chonclas
> and to Sepraent all sectr characters BAN ate Eneegh ‘hence chaos
d
; Ste ts. byte
» ~ BE fo Jove toe Gn Use UNMede Chadashes Which Couens coord
; Wide alt alphebeles ely. ~The nods Unicode chaoaslors is >a5e
> & bene Inbyle 6 rot encegh ~to Srepesenl» oil chosacters, Compuisong
; We shovtd go for O-byhs.
2 Ste + Q—bytes
S Rong. + 0 +0 63535
>
> Summer Ne lato +
> Saemeey ay poyintie Cae MPS aig .
ao dishitel Sie Roge. |_Weregercaia efawit Value
2 byte (byte | -a" to dha Cine to 129 Byte °
2
2 Shoat | +bys | -27to a1 [-sovee paar6i) | Shae °
2
fat Abus | Fe BL (anuaatus to ee
: " . Seta aenwestad
oh [ERY sess Long °
OD Heat | u-tyles| ~3.yean to 8ue38 Float cle
3 Govble | g-bybs | -1-Te30e te I-reset Double 0-0
oO Chay Q-byks] 0 te 6soa5 hamacren — |o [reprsents, es,
oO . .
NA (toue/faite aeallon’] blupdigyebenatiy Ni Hgespot Eto dat 255.
betean | riaens se
‘+ A Constant value whith Gn be arejn to the Voodable % Catted
* Lttepa” ;
Tk X= 0
4 oo Consett veive | . _
Sacre § vosdabte | Tderst Fey
Thtepat beteoatg +.
foo the Tkepnat atatype 2 bile, choot arty long) he, Foto ame
Ug, V 5
Naess woe to Sper) Late valve, 2
8:
D deck, \eoales. >
allowed digtts ome 0 t 4
S- fot x= to;
% Octal Mrenarss-
~ Allowed digits ose o to F
> Itkenoy value Should be Prctixed with" 0” ew)
&°- fbr x= olo;
D Hecacectma ews:
> allared dig are 0970 HP oAbF
coceococccoog
> Foatte Guten cite ioe. Can use both Upper case § louses Gse. g
Tht & me ~feo pls wher Zva fs Not uneteo
“F vey tes lane che Ft oe tS Bas~ LHemat value thooid be poefiued tif 02e 69 0% °
Exe- bk x= onto
©
pe x = OXlO
i >oThise ome -tht Only Postible unys to Specihy Totepar Ittenal.
}
& class Teak
d
Pp Sm (Sroiig tags)
d
‘
> t
) ink x= 0;
> tok ¥ 010; (ode “6,
; ok 2= oxi; on8+ ine og
°° =
2 | Se plo Gas Sone tg gto tay, Oe =D,
2 y lo g one+Ixtd 16
> 5
5 afoatit
> D wher 4 ie favost, Cleclasatios one etd
I 4
5 0 tt 200;
y VO tor x= 066;
2 XO tk ve ord, CE! Fokeger number. loo lage
2
~] Ir xs onrnces C4206
ve
MO th %2 OXBEeRB cer em By ; Bxepted
OWE x= ORBea; Bos0
eccee
iS
http:/javabynataraj.blogspot.com 14 of 255.
ic~ Apbleats Easy hhypar [oa 1S Ie type bit toe Gn
Sporty exgtg nl type by Sag tht ow L
Ses '
“F th fot:
X&) tok t= el; cer php L ;
oor +
® Long d= tol; aquired + Ink ;
»
vay foog 4 = 10; y
> “Thire #8 po Way po Specty Tohegrad tesa 4 byk § chant ;
ay ;
‘ups Exphitiy )
PAP woe oe aaagotn Total esa oe, bate Nositbie, & Tak 3
herd (eral 18 with, to a Googe. 5 byte theo Tt trede 03 2
by Bhoat actomabicaiy . gaslesiny Shook (hed also. eo:
2)
By byte. betoz re >
byte b = tae :% SS! PLP 7
ocr tot 2
Recotred + byl 3
10, ¢. e >
Lloatng Pofot, Uhoolg 2- 2
2
Cong Foaling potot heat fe byllooit dovble type @ hing. §
We Gnt assgp direct to float aadable,
~* Bak we Bo Shosrhy eypltctly floating potdl: Utena fe rhe took
+ym by SoPhig IK “Post
Ge K Poot $= B2-us6; Boe ote
Foot p= 193.u56P; rerived Eietbs vnataraj blogspot.com P6255.
Sdovrleis= 9-as6 : v,
ecocoooe> We Gn Saath, floating pote hemes explicrety 8 clooble type. 7)
by SafBrtng sis don D .
1. Gooble d= 188-48610;
> e
x Flak fF. 1g-ussid; CE plp
Kens + chuble
eapires Float:
> we Go Speethy Floatiy Poéok Wena! Only fy decimal fim §
We Gat Spey To Octay & Hea ceefmal Room,
ex.
“5 caste d= 123 -a5é;
a
YD) Cooble d= 0123.UC6; oP! 12a. use
XK dooble d = OXIRS-US6, Cet enatfeoumed looking Poitt Mesa)
VeUvoveve
28) whrch & te ~Pouowing, Floating pots declomaliens axe Valid?
KD Soak $= 122.456;
vy double d= O193.uS6;
XD dovble d= ox123-4% ;
VP dovrle d= orfac; fore? ee “se Bone OE Srookig
® fap & = oxen: i vatos, ove akg fot type.
“@ Float & = obua;
Fusgco
“7 We Go asetin Fobegon Ite! divecky tots fioalig pol dabodyrng
Shee Thegrat Ishesal Gn be Speed eilties clecimar fren ov
Octal frm & here ee
point
oocogcooeoocuoUuKUvESL
hitp:/avabynataraj blogspiot.icom — 16 of 255.dakhe ‘
~? Bok we GS GBSa yD Posting Pott Vewls dovectl sot ‘okegoms ;
tet ioe f= 198.486 » plp
—found : looble ey
SeopSerd = Fok 5
dase 6
= h2eg:
S0-P\n ay ; 1200-0
we Go Seeify ftoatiag pofdt Lslerw enn to Setentelte form
9
Also [exponetian forrn] 6
eA chobte d= bea; 9
9
S-o-plos 3 1200.0 es
Ss:
KY Goat f= tear ce. php 5
Foon a + dovble o
VS Book fe -aert; eer, 3
‘1p\~ \ao0-0
“ °°
9
Beolean Lsteaeng!. oO
he only posebla velo fo te Gaoleao clata-types ame two?
“Oo
D whreh oh the -Fotowwhg Boolean deekoutts De Valid * 5
® boot bao; El Thempiine types oO
ZS® bootear j a °
X ® boolean b= Bue- ____ Pineied: boolean i
7 CE™ Cast find gysbot a
® booten b= tre; Sysobot 5 va Bure 5
fe boo len Berton, 4, 08 Aacanonbe ts
fount + Joos hung iemaveptapiihinesnobsanan, fpr assde.
TR LEY
$
ese.
}
Uovsryrw ow
v
L peti
j
else
4
So ploy’);
5
Ce. IT
$2 ynk
Rt boolean
cCOeCeCOOeEeGOKOLLUULY
tot x07
4 wl
8-0:pINC "Heno”? t
; PID Mento’),
2-0 pi CH");
Foampatible types
found = ft
Drequired + boctean
1
beotear b stare,
SP (b= Patse’)
So PIMC Heto!): eee
4 Soph yes)
else j
q Ase
So-pln (Hi). 4
y 7 Sopot);
5
orp. ys
DFP: pine
boolean b
sees cnctoced Chaonctey [tread o
CE% Uncesed « : 2
CE = DOE a glalement 3
aslealy a
2s A chad Literar Gan'be Qepretenked af tolerar (ea whch 9
e:
Dupree ontcod Ay tat chadacten s
NE GO Cpasrhy aolegoat Klemat ethan % dectimat Bam e+ Octat form
Q
> Hexa ceesinar Kom. Buk allowed Drange 0 to 66535 2
9
BLS chan ch=4t; =
So plen; a 2
® chan ch= 65525; 3
So-plncer) ; 2
FX cham ch= Geos; ce PLP 2
foods tak o
= Degutred: Chad o
chon ch = oxFace ; ;
8) chan "ch = ofug; °
A 19 of 255,
http:/avabynataraj. blogspot.comSN chan Whaat Can be Seprtented 5 onftade Seprererobation
u
ececoocoocoouuboeuruDe
ft
which fs othig but
A-dig?t ena ceeimat 00.
a
BF chem ch = "\wooss';
Scop ceny ; a
AP char ch = \uobes? > Semicolon missing
aaa cen ee "\ofaa!.
* 8) chan Che '\i heap!
4 Buoy Ctcape Character ’s a chan enad
a
D chan ch = yn).
a chan chs "e's
XD chem chs Ney.
hitp://javabynataraj.blogspot.com 20 of 255.
v9 whith + ts fasts ade Valid Chan dectedatine -
“) chon ch = OnrbeoP;
a) Chem ch = \y i
PY chan ch =;
KD oom eh 4!
®) chon ch aig!
Soy (eons 2-
> Poy Sequence. 4 charackis WHS in" (ooble Codee) 3
Gites Stony Utena «
St Qsteg &= * jaw";
ok soci, Faseneting wht be puss Ovtenattty by ale Compton
Pot — hong ——> Float 5 aovble,
chen ee 8 we oy
coceoocoeooeor ee EoVvVU OU YVe DEE eH Ee Lee
hup:javabynataraj. blogspot.com .2|,¢f 255
ce gehen ane ee A APrroays
co)
a Aooay chelatetion
+ & Aamay Coreatton
3. Aooay gorkaltaakion,
A> Declaration, Ceieation, Eni faligahion tn a Srgte bee.
3 kengtts va Leng oO
6 Arnoogmans Poway
T Aroay element assem menls
% Aamay Vordoble assent
Aopays.
“AN Pomag {on Todened Collection: Uy red 0-45 homggneens :
data. elermenk
TTT mato advantage ooomg we Go Seprdant “qoltple volves,
Onder hi Same Name. So, That Shadebilty A toda Heppoved
Bit TK mtn binttahion of Gray f ONG we Cocated op array
“Thee % po Chane ay Focressitg | deeseasing Biae hated on Ou
Dequiremenk. Lene meenony Pom’ A view aaeays Candpk & pot
eCommanded “Ho ese.
> We Gn %eolve This poste 4 vig Collections
http://javabynataraj blogspot.com — 22 of 255.
eceococcuocuevevuveove> Pager) decdelions;-
@ Saale cirmenshional Pooay_deotdation s-
“9 fio a F
“a int act; ;
YS tt Toy >
»
~ Looe Selonnmanded because Type % Cleasly Seperated fom
ce}
whe Wf Name. s
> AE TK time dy cectomation we Gnt Speerhy he Siae >
ay
Ot Ay tei} a; >
3
han ee oi
® 2D Arma echerrubion, + 5
vw) Sni3td a; 3
wD mot cite, 9
wD it | avsel; 7
3
7) ink C3 ard; 9
9
®t ;
7 8) tok) cha; 5
— & int cjoti; °
o
9
e
o
°
O
hittp://javabynataraj blogspot.com 25 of 255,©) 3D -Areay dectanationss~
foe CILIL az
¥
fot acieity;
fot CICICJa;
wk] Gta;
etd arsed:
Hot CT (lati;
fotc3C] cia;
Wok 00 ary:
fot CIQ9at7;
Bee 6e¥ oo 6 &
fot cJaciey;
8) whieh eh Re farowsty one Volt declooabtng.
ez
a
oath |
Fi oo
nec MCver Sees
%ECI att,b; a
“ bese
“Zz
oo)
gers tha b om
oc’ 7
4)
fobey Cla, by, ans
7 bog
KO WEG Cha,cab; a3}
ts
> af we coant -fo Specify “The diinenshion befome We vassable.
TE %6 Possible ony forthe Kast Voadable -
GH foe] Cha, CIB;
a/
Atwed
u
‘p ob altetoed hitpr//javabynataraj. blogspot.com 24 of 255.
\
COTOCOOCOSCLUYOHOYVL OYWYOSSC VISES L CDS LeD Booed Conshuston s- :
> Bresy cdmay to Jon % an djeck. hente we Can Coente by
USrg new operator es o
= =. Oo
a! HET] a = neo ECA; 5
a % °
> Fa Evaq 08009 jype Gamapording Classes ase ote tek
je Clatten are Nek appbable £ . »
PP for Poepammer hever pS
Poway type i Comesgerscig osgname o
ate oe ae a
© tntea Cr@--—_ oO
® wera Cor@_— 2
0
® coorters LD@--- 5
, 8:
i , oO
RE Ke time} Goshuctin Gampuitery ce shoot Speetfy the 7
Side Oifeorstee woe cot gee Ce 8
°
SM HEC] a = ew ELIZ OX GE? o
ECD a = ne eEYs 3
> BE TS Lem fo haw a Or9ay. ath giao to bya o
°
SPELT a = new int Col; oO
°
> P we are Specehyang Coma) Bik ak —ve ME Valve, we AL get o
Quoting Excplisn, Yvessoy Os: °
Saying ee Negatvesoey Sa Excginn, a
/ SV Fixes = Pet HECK; REL Nese Gal eatin com aggeassuw
> Specify, afcey Gar The allowed dotoyped ade byte, Sark tat:
Chas, BP we ode oshg ony ottes ype we wil get Cee
ey
¥ Seay foked Os pao Pott] » act
1 a shove
oO ® ale bet; Soak fo
- * tok C1 Benen MELA] Ey-reat
) @ Sbont_§=20; - Nt
oy ex
; MEET. as pew MEL; a
‘ X Treeld a: new MECC LT;
AK WET as pe int os);
y
> Nokes.
I> “the wmox. allowed tat b eer
e lomred a99e48%%¢ fh fave 2 glu ugada7 Cos datehype))
2 Crctlion ds 20- Amnayes
> Ceeslin, 4 90 -Ansayse-
27>. Joua Moll démenghinal O9oay% oe Fol tmpleemanted Th emabare
by Sing” Adon 5 Aowiay Conepe.
> The main Odvantage of thts appedch fs manooy obaaion aU
5. be tmpaoved «
_ “fran thy Prplemersted
Oo ee | :
fk CIE] a = Peo MGIC]; t
o
Alo] = neo ita: ah iy on
Od = neo my;
alt} 2 new itll
Bp ce, AD
http:/avabynataraj.blogspot.com 26 of 255.