0% found this document useful (0 votes)
0 views31 pages

Java 1

The document discusses various programming concepts, focusing on Java as a high-level, object-oriented programming language. It covers topics such as data types, operators, control structures, and the structure of Java programs. Additionally, it highlights the importance of Java's platform independence and its ability to handle multiple tasks simultaneously.

Uploaded by

pratikgagare0
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)
0 views31 pages

Java 1

The document discusses various programming concepts, focusing on Java as a high-level, object-oriented programming language. It covers topics such as data types, operators, control structures, and the structure of Java programs. Additionally, it highlights the importance of Java's platform independence and its ability to handle multiple tasks simultaneously.

Uploaded by

pratikgagare0
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/ 31
a | level Peoga a —z 2? fav: ideced md 0 high level [ue tightest Pragnmmtng Language pt we _Gin_eailly leren ond_freqom! — |= to convert igh Frte low Oe con use fave ompites ea ~ java Fite gaan Fave i OTE: H — = Tava = high tevel — == ‘nidde| [evel } = = asiembly ~ low level inde Pendenk ¢— {8 Plaliferm_fnde Pendent —s = Java_tyteesde is platform lndegmdons | —— Tiave clade fle cay Segrecate one eteaag Sytem Shia Glleto mofo ee, Saati ence a a r ay © scanned with OKEN Scanner become: Set © opject_ovfentecl progyas rag b= |_| Robust cine at a mab) because pave Tne Ned concep) Mke tba ecko on _unche Cophion =fava_firo_consial [@) Muth freee = in pave we cxecuse fed we mere applitasien Simultanéesly by making ay Hhrseod. (D_Hijh peefoomances— z =Jtta Ptenuea cae pleads liege jens soerneey , hence Tha + conti as igh pee mnnce. Langue (© _sitotbureds = Java Peovides laage GRE Ukrates conlaine more then “Lup Houdand — classes cmd (niecfaces fava ev ganized all elusc and thier Fare by ustag pact Hester : a) Inhestiance onceee ane a)_abstencken ; [15 encap tule, D Aciecheea) nuked — Save renside: asa. errant fecharal Leyla Tuteal be Cause a2 bie clage Pie Can be execute on Su bY} erechi Fechuve and vice — verse em “selabieg= i Tave_Constden Erle ee Doula i iy swe © scanned with OKEN Scanner wap e— Z ‘= Jamas Commend Can be used for opal HS) fave Pe) ta ruelvre |e q Chess. % Saat Keyword are $ [Tain gem these ar aq Keyusord Pevessthve fo Used — T= Key word ten not use be used - L goto, cons x TA kquarrd " preview” under Condiuc : Tare Commend 3¢— @ Javac t— - 1 Stand for uve _Compflee by used Java_eempalien we con convert hgh fom [tou level pave “Breqram ond Cre © scanned with OKEN Scanner eS ren Tn dani Tr weaken “fan Geek ool aaa bomn perry % | Pimi tive dedalype ¢ = Asta, sheet = Bre = clef ford dada value = ene yulue Sone need te _ceewe hfe 7 _ —Aeiate ing Ten pamNve dataryPe ah a uses -d68P aed pagen! = muljigie value = Teed 45 crewhe objec “a Sina_wertable amt Prould be idence) || ist of petmittve dlabatyPe t= Gnd depeptalized Dalalyfe he Range - — - Be Tepe oben 1 her a bye rer eseTen i Foe pte Duaudreat eG { - [ren the Tanneries I t } en pecimay Valuer 2 1 — t 1 Fis byte Bian WP Foe 1 double Boje Rg.r Pte gr ge + Dectmat Value — [ah ‘Dbobe Uaieede fast? { pecial_charaches beslean Pm False [Teve q a © scanned with OKEN Scanner A= operators = Ty unaey operator = = opecudoe Pq ule operend = here “operand mean” yerlab ‘speeaioe ecluen Seme dadaiyPe eat ay prefix t= Tp_pre= tnnemeure > inceemest by ene Ast, Pan Use ce fay 6 10; spilem OUP palntin HEED ern 648. Orta CD | eurpun r us ii} Pre = Jecremet 1 ~sleceeraw by one fisr, than Use | 7 i Tov aso | Byslom, out petabin( i 1 Stem. 00? Péintin C2: i oulpurs { 4 f q ! BY posi Fhe = i 1s put Tanmemaugt t = Fes use, thon Inecameur by one [ eta as - i 3ysiem. awk Peinim C0 4» Systm ow pélabln (0); ouput 18 = ai © scanned with OKEN Scanner SS ‘eperaser Pequived GMeaty = arith mall 2 operand Tiaxlinmalic opemnahd ePoratey Tokens ‘civleast inp om Bigger ic lane Program Public Sebe veld main (elng any 9D) Cary [ top. ou. Penh CE wath Operator = = fesigmeut operabor can be Used #0 OSS qT =a hare SJaiye fo operated ob fay = ase = a-atah- ta-o-tHa = ASigneneub eferajer —rohwn Same dabalype i" =s Fs =e 4}: Relavional \operapes;— =Pelattenal optraier con be used eo _Compre 2 object = Relation eperader Compare 2 eljeds. on © scanned with OKEN Scanner 4 Puig en menery alermce | Spion:sur pean (aoa 88 Got) Ty Tae To melakional opechiax rete n_beeltan Vetus F onthe sbasig, on ComposiSens——-—_ | eutpabs Terwe 8 3 so consid of Zo ngelalien_efevaioe_slse Consent QE 27 Cend’Renal effector. BD logical ef f= a ee pa a te To A= leis than Of $f Greater th [om : qealer ty Sua) t = dewble equal oo z 3 of equal “Logical of Felven bralen hue ,7F Gnyene ‘cenditien_GakieFied. IS) Legical_eperaber #— = fe used Leica) of we Gn we Use YP = tegica] epecajor Com be Used to Peden “mulf pie Comps fe ce = Lepical eperedre -eetven_becleom velit em: ouh-petnbm(Gwoy2e9 1 (20ku@)) ] en’ the basis ot Cempacisens 7 euipu:. Prue ‘ay _egicad AND “I z = Gp Leica were Treat oulpu : a oo 1 Tapur——oureur ot © 1 © 1 1s o | H © + Leics Nor _can be used to Fnverse of J = Cegical AWD ekcent boblean teus, TF ety | qiven_fnput f ‘enditi eds Stud fied |. = "fo USE tegicut per, we se C1) “af: Y= to use teglea! AND, (We tan_Use {— 5, Ayiiwm gus. inhin{ Pat =f 88 si 4 | C Cioape}, T ‘ews pal= False © scanned with OKEN Scanner i — [= ahr oe LL | iatie@_puapam ef 1m Ob 2 Trike 4 program Swap 5 valued wthoub using 94 Wedabie. eds Peegeom Public Glatie Weld mata (Detng cregs £ Aube Ble aad pen (thing aeqstJ, Ta > Te iehom: ous. BeTnbie Ce ine B= 07 ‘System. cw. panna: pa bbe EBD, Gish; Cuiput; SS GT, b=a8 TT errr rrr rs cae Shing ary3C3) © scanned with OKEN Scanner svament _a_feeqeant yt a fe _olsPlay ven._ayumbre Teles Fre} Tp —__ 1 Tw? 1224S — = Yhele — cedlast> (alte) Te —t a alas Ca al) CI oulaw! 72 Saqzie LE _—— —— i ubpus ‘il walte a program to Find simple Toiewerh & : 2_eatie a feqram fe diplay Fash dipiy ot Binpe Invert» Px RIT [100 givin mumbo ‘Ps Pefatiple_ameunp ipeegran [— > ase st Wnlovot! 7 (ass. Peegram Ts Pim Public Stable tid main [Theing avy sC])" | class on 7 Top Wz 123 4 Fy Public ctadic weid main CEreng eggs EN) fob lar = M418 i tom. cad- print dn (lack digit F Le} Fleat P= 10608; T —_Tnf | feat R= Ise 3 1 igh] Flow T > 2 | Beer interes (Pt RT) 100 + culgur eS piftiemcutsbetatnL” fog Enessht inure) eT Buber = Tovd RS. © scanned with OKEN Scanner Le =o Class Peoqeis ewble Lt = ahi Searle ad ain (ing eg C1) Sem Seen ~ t [deuble ts = 65 iz Frew Pz pocto; double ty: 2) a Fleer «2 20; . Flew sl double arty 2 (tints) * (aH) DIETS rd lewkie—tomnpoual = ‘Systm pws.peinb-tn( "Aves is*+ area); eae temmpeand = P* maih-200 (Tt ein ny sate -up.orint in ("Cempeund in) cst i 2 I eulput 2 Seer - Far te Find Area oF ceckangie? [tlets_ Beg u Ts ~~ - [Public Stab veld main (Theiag args)” Tt | } t pt f i—_t > t — L © scanned with OKEN Scanner « Sledic ayeTeh analy Yor 02 7 while Ca ey t Sysiom. our Pint onl GD; as Sw I Peper Tie Crease witie loop we tom G18 Te Keyword 3yaiae! while (€endiiien) Stadamels T bevlean rue “Vulve, i = To erecure White loop FF vequives fe | I = To make Condfpion , We Con use “resin while loop checks cendivons end ab ‘and_Leqicap begioning , hence tp 13 Centidewsd @5 Sn tnt Cenpre) Loop» 4b; —— > a 8; G5 —> aye alr © scanned with OKEN Scanner lonlle a payee eB eae Lea. fcegrom digih op [| _gfvep_coumpey 1 i ‘fechic voll main( Sheng @+g st). -p foi n2056: toile (mp 210 Toccata do while Teop PS repaid Pose rue Values. a Tite make a Condiiloanwe Cm use cenditionsl and Uegicad_operndo. itm: Cup prinbin Cw z (eq. Tay a : z T de Dutpul 2 t £ 1 op (D; weilie a peeyeum te display the numbers ta ait, “eorevse_erder of Gfven umber while [ax 201k Tap: 1234 ouiputi= 48 21 (note ce wie ep cheeks the conalfiont oF cea prog [the tnd hence Fe To crngidered af a eae ‘whije lee soley} ance Be cou fe Stapic votdl main (Thing Gras C7) TETS cist _conpee) te, Fe = Ft can be _Uused_in_apfilcaKon tke 1 — foi 1: 1034 tev 20) { menydfiven —applicablen . while (mize) © scanned with OKEN Scanner ee — es oF 24 for loos 8 — —=— _ 4 “i [J [te creas 2 Teepe can ae Beep Syntax! = _ _ : ey }___Spntee ss — = eee ee 4p Teililizabien @— = Phase = Inijilization hae Con be je foitializad 1 + puivor number GF veriubic i = ‘here dec jerluble Cengidered 03a Lcd _Wertable =tn_fniilizabien phate we tm Use unary nd _assignmeur “opera t 5 se “wle_onee in + Tois_pe ce Paging Far (Toned, Fazio y FAD f 2)_Condihenad phase =sendiVional phase vequive boslean Jeue | Walve_4o Get e¥e cet = enue _a_teaditien (we can use flekoral © scanned with OKEN Scanner =~ pi = \_—eumpie Ber Bite male pale 7 cmt Fer Bie = I ase pe mayne Soy TT ——— Ex =fa Hohe com_uss_ursp_ad for Cin Te oi basa tig ~ Aisin -eptvader. - = - in B oH i - c taht x 1 | tee be Taner pe ov K=0; K4= 9; Eas) Tis phate cyecuder cach Hine Ot ends ' Syslem ows. frinuin (TPP TE Te” Rp : : a + fer (iapts 4 jieziy 1H) i Siem. Out: print C1); J i oof E 4 oot > : Nore:= Tn #his ‘mudtipie loop Whe Dow aeipab- 4 ofeccticn £ Steelfny beginning © 3 2 ex teep a= : = 4 y complebed (agp loop Ce) FS on ca © ailing Eeom_beginalng ang 444 = é CU) siete te Boy Tine wh ft 4 T ¢ 4 { 1. © scanned with OKEN Scanner oT Cs rem i _ espn —_— a — nase | pide Sane wel Taga i ental Coking 229803) | ublic Stabe veid main (Fe'n, cd — eee be | foe Ur Ta TE TE 3 — Serr = 3 + FE) col al eC int S24] eee TH, t ee sone a y 7 im car pa Siem ea ple TY, i ase; FH ae oa See ee | Tomaal poe PED SoP (3 new ling eee ati SIAR fos : — [ aes Ak ke foe 8 A , { — kee te dob ok tg f Stet a Kt ges L cate t 44 ey © scanned with OKEN Scanner e Condfifen “go 7 [= Te eeete Te else condtieo we Con use Tp eT % SZ PR oni be Sf ese Keine: ao ST U = bust nl —ten_exesiten, [Syntax i = L Gade ds pee ees Ne Cention) Tr ST Mt Statéometae ; q Conf] fies nudewau. St I ee tee Stents whlch bdlps_@" ftegram te >| iabicénale Salonen, t Fete the Fe 06 ereculien_f- 4 Pr . re Called Confre) « Adu Sfatemeut. = To execute fF Condition Pes ue ‘bos I t ‘pe saiue i t i To make a Condition , we Con use felitonal —t [yor conf seaaboe ‘Gnd ogleal ferador. i £ 2 = here set uve Can be sed) # Gn t Te Condon aallesnadfves t i = Ti Crente Teton ji08 me 1 e: i t pared mae 5 : z oe Te Caco) iH fea c cle: out Pelnkewe ave In TB") a PP (éendbioa) or I st _ Syston. ou) pidn( “we ove in else"); } t Side de, = 7 Ceale PE condlilen Yi wequived boolean rc revel - = Te_muice sq CondPiey we con uae “Felational ond lofead operat 9: For 7 TP Caxs2s); x | SOP Ce Ga Fe the Be toler TE © scanned with OKEN Scanner [ested Pe cond!ifon = yeTS_OF conMlion can be Constowed Ae fe can be. TTI T Testi adden Th condition ee firm |— \adaer Tt tenfiin on be a _ —mruttipte tomb compasisont ——___~ ia t on x - \ —_ sr = q loublep: 70.227 ~~] fe Cay: 18) im tt Te (Preae} —] S-0-PC" we ave to 0 CendfHen™s | tf S-0.P C*altstincVion"); f —: _ iP : ise Fe C Pye 40 zt L coe paral Flasete_a Proqram fo Arad tha queasy numbe Telit Te Cbs v0) = ‘among of 5 r 90:90" second cla ee [Tease Fe_CPr= 40) elas Ganqram S-0-P C"Thied class"); «+ = i” [else Public Sialie watd_anala Coteng args) | 1 Sah Chal ——] t t = Tasso, bite, C250; f oa Sen & _— te Cayby i Fe tare] f corp (ha ts Bhygee Ds et Bice + t - Sop e 1s brags t - { else { 6 Core) - t = es ogee IE v © scanned with OKEN Scanner TWh eer © scanned with OKEN Scanner 2) wane fond eatest -namber amend 40.5, —— 2, ‘Shubemeuks © L : Case “value — Case value ; c Tasimeuk ic t OS "ase ‘Vilue Ni — i [es oa E E t — 7 L rH c sian Bop — 5c Sane ala adn (Sieg age 7) r - Tat Chole <4; f t Case om: “ous. Pro hlo(" Tee"); + i = bree : © scanned with OKEN Scanner Ly shuld be Focusea on 2 else = Specat ondilen can be cvede” by hy Fe operator Tt ‘Shorthand ef fr else Condiion, Seige uk pokin( pokes —~- ion ea Syl: eal Ln "Tolley (| aalalype Wetabi > Condon) Y vate Brest f A _—_ ' - — ct Sos vesyt = Csyiop ets 23 - = Salleh wading. fealed Beye open Slam auh-psloup Cre tas T= Sitch Condon COmpea epbemnd on the al basle oF Value deed: mi = hence etch considered 45 a Fastest Class Pros + Conf Srughed — ie my ese Sulfed oa_ Ct diecea Te atalie wold malo Ching @-929) Init Nene ba Kiguerd i t ~here deout ach at alas ote Fuabie P= BE —_ BS Cathey yl te ama |S ne Conse) aifven appresti r se ie eles”? CPb2 30) 1" Second ! or eee emnizd last? 2 felled { 5 = t ems bak: Print “EDIT — atipa moe ——- Pees Clas SS =e © scanned with OKEN Scanner 1 _ _ a ee isi (oss Posy 1. Chess Pregea [fannie Shai wild malo CSteTay e092) t i i C [publ Sede wet mal, (Orelag_emeny) fins, t I fer (fnr Pod, 142m; fy Hat Thinzte ! Char Cos Yow (Ini P24; Tes19; TH) Ben oud Prine (17-2120) 242 OF yas condi for Claris 4) Te t tr Crate) Syitem ous. Panam (4); System: 0% ud tt (Chew) CHESEDYE Ten ow paton a0) Zr t Fase Peegea aie Sale veld an ng 029207) tre Foe Clo Aj ten pin) Char C= CommCTa) 64) 3 [Feet aria a + if Cat. che ‘eon or = fest, 3) PC AZ 7 © scanned with OKEN Scanner a a ; [use Gaon 7 ’ Public siabe Sota mala (Sheng rj) ee Bante o7eT mal (Sng eee) a Taw eae [as = 7 Ie fer(fop tay tera fo) Wet fa fats fae OLR) = GO yb [_¢ — ~ ik foe tntis dens iH i efi Syuem: ur. par CF") . fex(ior ej seem) : a 1 System ounpeimh ("4"); we fyfiem. ows Print); | L Cin Pe nly Ped T a a o anol Perak je fea) Fe for Oleg fer (Tote T_iezn 5H) sae era ee : Siler out peat OF" ‘System: out: reat pnt 2) “Dyin: eur pelind); E oalpuhe— iF GAFIe_urtey Stoops ee + ele le waite hog Foo Froule— mas * + + * ee AS 9 = Chea i352 aE $3 = mT PST Pale 6545 GET 1 © scanned with OKEN Scanner 26-07-24 —_PoP_vs cop } ] | pop — E rok T= Reb Stands fer Procedute ordenied Pee [_ — ESE aera pig | pee Faia i zi ered e— devon appsench: —T Zine torent decom foe Tn PoP 1 Hine Ep ne Cam be cose _foarlevp [| —Kaieend_t TRE + Tava_Conmendt_ > dedepeos 7 = tn pep, these te me securthy fo ous cede. | ee [te fe ‘we am xecule Code aif }—_[= develapment seo\s: contains Keybiide, TRE amd” -seqdeemment Fev commons = Pep can Used Ho Crake appiallon ,but we | _|- [9k Ts Sesponsible foe te. bud vf aeplicailen- im not _achve any equivomeu. of [er Tees — ore L i ee T8OP Slands for objec Vented Plegesml Peter fs oSer of jot Mbrari Strache TRE fe weapon bles fo enue ova Appiicallen = eop Used botlom =fo- Br _aperiach i =n fe, t30_ oun Tremowe cade comply | = Tn onp, we tan provide Secvithy to tode Tn 7 Ueg encapSutetiag and abstraction. = tn c0P, we can citrate code_dltPereniyy = Sum Chang ov gan Veheal trechioe ustog_amedved_overiedlng and read Tum fe vPfoad mace, Psleally mal aabe Ceres — pum fs Sie of clusset: aad tnfetaces, which acu [by ssley’ oop, we can Creake apPication, ant] | pepgontfble fo Orecute ous Clase Fle 7 ed On -amvg any. Tqubromaat oF oie ines ne ES © scanned with OKEN Scanner ] | Obj ch iclass (| Trifle © scanned with oKEN Scanner wveFabie = Tum #5 fet ot ond fofecfaces which $5 |S: policadion cl Toacles Pubsyatorn B= pyppitalion’ Cowles sussysiem Psa Coiid Coss “respoasthie-do. execute Class Fhe eb Pylerslen Loader Subsysiem. lags LegdexSubsuiem Pt 13 « T Apflicatien Clascteader: Subsysiom > crespen ble fo L = tum _Contafos. E Superclats tn Ive Toad a Clase File “Foo Sousce. folder fe Jum E = Cass loader gubsysiers Psa foent class 06 [ato loud a class file From folder toyven Te L Boctsteap_clasclonder SuSytlem_* ses Sysiom “veridble, ~ = Classtoaslec Subsyriem fs-vespendibie 10 \8id en = We can Set Sysiom valabie Pmpiichl ly erad E eterute Cass $e Se eiplicip foo ‘ c i See caplletty 7 woe” coo sae Bet par Ay Booishrap_ ClistToader Stystome— i ver“Command. 4: ~ Beotafep Closlede casyafer fo Cid cess y Ser. path = C2\ Pregvam fije | ava\FaK-7\ bie OF Clase leadex Subsystems. a = Sait stiap clasleades Sui5_iin 18 a eit chas| OF erie fon Clussleader Subty sien. = Beet heap Clestloasler cubcyster Yc 0 nile fe | depley runtime Baivirenmeut 1 = te ceptey runtime environaeat Frexecuies aT Fle 2 Exlonsfon Classloaden Sussysiemt. = Extension Coty|oader Subsyalen T= @ hPa Chast of Betstrup Claccloader Subsystem = Exlenclen Class loader aybsyiemn Fe 4 Povont Class of ApPricatlen Cluscleader Subsystem. 1 © scanned with OKEN Scanner jasa ama Reap aves amemery Considered 050 ~amaPy “> — Tmreta Space Sore Static Chommuts_of a_Class— me |e ivetog__class_Loe IR 09S 3h lass “feud Silt of 1 class Con be access fay case name dived _ : Jorn ‘be Chan sidered) Commer ho; " it addition C2" 1) 40 RE Types oF Method ¢——— tL ‘Geqymeup qe relwen Valve B— __ i Te dik nak ean age We heal de [Pes iy amy arrqumeu 40 Tnvoke meting = Pe melned does got —teheen ony value, Tp wiih Qepomear qo Tebvre Welue: Ty [elim ype Should pe declared veld Keyaierd, [ee + ‘ony argumaus.,we Should Pst relive. Dumber of _parameler. = Tr method desen'} @huen any yalue, roluse canta ‘Class Deng t ype Should be deciave| wshhy the votd Keywrry i Tot a,b; ‘tid acdifion € 1 i Tyglomour. feinttn Cav) [nats _adifan (tor @, fat) Bistm-eud Aint InCarb)s © scanned with OKEN Scanner {lass MaleClass fr ans:s oh. agaidlen © aie C3, ysl ous: paoksnCan$); M30 c= sumed Sin ebony abe, i Doin ovyumad olin weloen value S— coved dost tenlafa ny 0% SFE melted Coates any ovquneu , we Should — Showa pss ony _ergumeat to Tovexe meshed - PAsd matching 0% Superlve ‘number of prrsedn 7 = Te mined eehern, Ory “else ,alue. Can be TTF meshed vielen? ony sasue , “Value Shelld bo. Teiwio by stag tehueD Keyword Telinn by slag Tehin Keprernd a c = reltim vatue! ond -relean tyfe Should Bi = selurned Walue nd -rolwrn Ayre Sheuld be nakching Cx Sypperl ‘ Imatching Sr Supoeriive. — = Wetted! cop “eave onevalue a @ Hove Melted Con tehinn one Value a} a tfme en qi ee _ Class Dome fo oe = zt = —T fia, 7 for odatiten 0) “tehuie OED; a | 1 © scanned with OKEN Scanner meng + Thy Samor pigit Cat n) ~— oO. Tn war fo add SunieP ch c Tos Sum: 0) [et ate co (wie Ch}=0)- Yoru: aos c t : [owt 19 038F c ] Tapa ae ep t c mn) [warm fo Sih piece dBi? cb lash: rs z Toph: 225" to fejuin Sumy Ga = ouipar: 54H he eats SUSE L [GF ine jo wetlerge given wo. (al Tenet a z te A f= eS EN lass mainclass " ae ——- Pubile Ctasie wvatd analy Cobing 79st 1 wveus Demi (I$ int) ( et Somof vial C49375°))3 ‘Gem0 cls [BAM 4 Biel Ba AGE oP Goma number) | WAP] ste fink Sum of Dols OF ven number, 1 t — © scanned with OKEN Scanner

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy