0% found this document useful (0 votes)
35 views11 pages

Class +1 (CH - 4 & 5)

Hsha

Uploaded by

q9tqd4gxxs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
35 views11 pages

Class +1 (CH - 4 & 5)

Hsha

Uploaded by

q9tqd4gxxs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 11
; eal UNIT-TIL- History & Development of “Java cee coe we PG ne. lot [4 steve! fecce. i. eter eae Ay ys aL jodaxe (ees 6X Slee as Ee fa Xx aan Lill Fh oie the _blonfs J Tawa Appl cach'sn. 5. _lutndens 40 6. “Tne 3. Tana. aor prln 4 Debuggeng 4 Keespeaands “Dos. 2 Tomes ocbin Laity Ann Sheek Cuadunor. 1. Tou. _is “An Object Opclontod Kee Ona douolopre in 1991 Names | scupttcs St tw08 Toll sud ‘oak. Bee cys Thijs. ant obj ect Osciemted, moe Lang Ui. TTawsa, unas. hs berth (or Cite $ —Gib_ + is base Sensitive. a — Gn S+ ig a mult - Je Ose vt Eat 5.(b Single | Lina Gmeat Cb Mo}Hdine Comment: > Qh) “Doenmatntetion Comment. a: —Eacplaim the Signif tence Say Jae Prckapo @) “Java. Jang t- 9% trscd tn oe Classes. Contoni. eneHond sto Operas on etiicg | Chaxaitert, Math, Antigen. ote. (by) Javaio = St contains the rae Brel handle Fy ndawmeittel input and ctilput oporxatione fo fave: (cY Tava. matal * ee fone eal oe -fo Stuppeet MacthemacHtal ~Peunttisns Queb ae Squad foots CTaites ce “dlecimal hatn). JQ) single Lime Gommexct_= 4 This my feut pi09fam, (Moline —tsmnrnacot> /* “This Ja my first pragian . 5 eae re oy hoe “reuanbens, */ Source _(sele '- A pxo4tam one ca ; Sane seh Called mea -Isa__lpw Souol espe | z Page Teh une lo Machine = ee ae fs eer ea. oa Pa tundl0retond.. anol pa oer ek fiscesser. a 24, ct odo Gee lo. ek ee os ; | _Sousie'e Se ties eas ae ant aac oy q.(@ Compiter. Compiler Convort High Lovrel Lanpesge| —_pecagtern cro Machine barngisoge - St Connex? rte bist Pa. Longlioge progam unk Beg “Machine at ance: os See t- Sn aS alas Convort ee E am nfo machina La Conuirli ene Dino af pring a oc Ee Nava _Capk.|.5) = _cTIDk_9 Tawa olowoly kik je the Aet cools Suesuisiod to Com and Sum a we Dk Li oa Like Be. eet. tte: 5 Sc Qian dadegeated, eauianoneent to eee ~jovs Lon Bs the hes inner.& and nes “trcetia. dts ao Ln om ee aa eact ourconmont he dlaswetepinn wntludes oeols tee pais E. a tte. 4 fe fete. Ee hs _ athe re ~ Crear we ae ao eae BW, fica) trex infers aT in edition, comp Se int othe id aap abel eta _ewitons Shar the “Hens eee Values)! ~ Reserved coosuls aso alte lonsusn Oh leouneds, ees toad. iso, toated that has perede}imed, on yo the Lange 2. Posesiint fool Cannat— he Gs name ~ ables soon ee tb Bikinis Clase (3 nt (uy olouble (2 chag. Height “click an. Wu clase tran wv Clase lofndse 0 the Compile pptisd Pare Mens). —__ Again Achat} Seg hk chick” on Class fcon in fe Ne las dad Acbert 6ptizn Noid) mais e pe C. gt £4] ax92)). wee es Chicl ok on. oe toll tafndow. The destacd out (ee Wa aoe. Pa an eee | Poe Tawa Nisahual Machine -lehes the b cody aa ——tnput Ancol Comments 1} into MSchuine Cade _ Bir Meee Ei, Zak as This byte (odd Con he Comp! i nae POunte toe boaitten | ae a Inter pucler Se Manel : Sas ee Ja for love fare Cole eo i —Papleade Beco in ae 5 —tode YT ena Vi Machine) thesis btyle tole AL _ inn, ANA Camm VM Qotk a an 5, loncept of data “Types Exercise 2G Mo. = 134 at} Fil dn tho blanks | (12_Single Quotes ©__Non (2) Stet, DM __ Stui it fe Os _@® epulhd— (4) bealean’ cbete. type & wantobhe [eee eee a> rea: ES a 2) Wile Shor _-Ainswet. = s |cth A dala Sijpo 1c the eh deh a youighte es one lead) oii Si) ©) Pdmifive abe Type: Are the baste eto [_boludl._ axe net: clepenelent on othe iia? | Gd Nen- Priamitrne hata “Types = Non Sumihno oloa ___teith the valuts that ase alphascuumsste Character: (> A waxiahle is a -named eccchion in ee —_ thet dbees a values yanighld 8 Lg. 4a heap’ s Sede Cy Vague. 2 2 UA praia emntt Loviseels Waites Sie fal feel ant a = as Be icag Poets 2_t CEng g Cage Peapod) 4 Be isthe tet aes of Go Sepasiatet ——————( Fisrchaaboas— wre | (2 Tlomtifese © - Assianmadtts.— = Mw Vowlobe name Should he tontaning fol — _(» dt Tt_wnoy (ontauns deur Case Adttons , digte ond Lindrseoro- ie ey: must sa be duet ak ae a bnobran Ditiral- sey | ly Should not Slot tolthr eae as eared @ di Betwroor (ay rntegee onitint = Represented Litheat devionel ___ Pernt, hows ecto bu Wa. Ags P Boating UonkZand = Aleo “a Boal fibeaba | a ee number ltth alacinal eae eH owe rs eg A Soumal dy al ee _ ae ee & wotor - Ase Uses to anole the variable. _Pumefraterc! Ae special characesrs tho} ‘hos Special aa fo. poe as al losuile dorm, “Soto types —tebl posing d= @)_ int (ue Sade c “t & fons (ob Chas. Le A boolean data. Ape is ued p_stere ono “the tue boaleafa values - [RUE] FALSE. “fhe. deface value ed boalecsa. Lip ts FALSE. 42:9 ~ boolean “Te Test = fobee, a S IN Debinre the jellecs! jeu Loitt, Leausple me (0) plik Type. Gnvostion. = “Thre Fy pe ofa tc abeo ‘olled auibamoatic hyp? Conmersion.- “This type 4 Convertinn fafces place, toon the a pes the (gnnarstor. ae tomad cally a _ Lnrabuation. of smaseteal. expeniod. Th rte docs this by“ Conmerting all the op operands a. ae 4 dorgA} operanol Jar Comuersion 5 k =a re Jet Seis td ty ae mau Se or Ss Qrolint) i ee Omounk=— ate abst, ae satis Led Geplisik | Type — Gonuanncidn ni Hijpe of Con nesin —___fs_ alto cabled “Type By fae Co ee _| Con wortion Caan ee CA. Thin. Skee ees faire Geattasy (0) Literal '- See Que No-4 of Paat=2+ 6b Temi fee > ~~ See Que No. -8 @ ppexenbcace hodureec 2) hep — > 12) Crating a vianinble is Called oleclasang— a worinhlt. Declaring a variable halps the pe dommpitit ob Dol tha xtaype of “the value Dat ia tel tent: 1a OPAL Lartabl. the Compiler tse TAce i to allocate the ht vatab ft “ie warms Of 4 } tothe Ee re 13] \Vadisable uttiabication » Assieateg value pa \vauiaklo. 4 dud a2 The uauiohle Connet oun tiers. tig Cr Mle ol. ad -fime 4 cleclareters DA namai plana en. De vauabe Can. Change the wale dutine Sun time fs called dhgnaurnie declaration gt th pts ot Sumitime 14 Sale. aceasta to Chan: yale ou Sali. al a b lasation. Wabi 5] See Que Ne. =2¢pa} Caer (2)- Oe ~ New > Class, nix pace. Jl Lille — Aro prtnnitine oldie. > the Qbloection ef non Paina rtiva dale Ayes Aakog te im, dhyroarnve none me pa daloti por aso alte: proumy al hy ape be ects “Non - pacantlive Klee ee sty a la I See Que Ne.-|1-@ ef Prat ~(2) Ig feochoum he fet 4 @ “fla it pies 4-1u2 > Or dlouble pie (b> 4S Slucing Mas JEG B) Prodicle the sichwun dati po in tne tePl evomg ze P nt blo => double | Mets pao eckasm aiaute L — a ii *} ob oublo + 2 dlowb.lo ~ bt oat = Chon. 4 in| clauble Reoat — Char + dlotblo Cig ale ile } + double = double 5| bab ian Dacula delay en Fle + clouble feet Y- double & oa + td. fs. é neLy = daub nO eG Pa ioa ( (Chaz)} +2 —h ds — double

You might also like