0% found this document useful (0 votes)
4 views4 pages

PPL 1

The document discusses the concept of static members in programming, highlighting their characteristics and memory management. It explains how static members are associated with a class rather than instances and can be accessed directly using the class name. Additionally, it touches on static methods and their usage in relation to class-level data and inheritance.

Uploaded by

sakshishinde8113
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)
4 views4 pages

PPL 1

The document discusses the concept of static members in programming, highlighting their characteristics and memory management. It explains how static members are associated with a class rather than instances and can be accessed directly using the class name. Additionally, it touches on static methods and their usage in relation to class-level data and inheritance.

Uploaded by

sakshishinde8113
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/ 4
— Assignment Ti+! Poge ! a Que] bbhat ts meant by staAtectn. fava. 5) Th java the Staite beeyisdh of te _anoninaccess mi management —& och! Flew. memory is _dcelred static. t Speslfre that plays. —Cructal rele _In. Slass behav fours _talhen a. member belongs 40 the class HaciP other than to_ansy instance Class. Jere) membership Sjottc member ore associated —colth Ahe menos theres Om Ome by on fostonces of class__.not coith _tadividvol objects this o Stohic member. Shared copy the clos. MAcmory management + Static member ors —atlom-cated memory is loaded nod _iohen an abject is cxcaded. eohen the Class. = Stostc member Cnn he accessed dere clly using the Class’ usc _cates = bodice Vorabies xd to Censtanis of Varioblea that need ta be shared Omang oll instance OF Class Static methods Used ot methods thot don't wrehy gn tnsta nce = Seccific data the matn () methed ts 9 cComman. ex S m a Ta abe ab PPerence felt —- consrd t1u.cior— inform of doable» Conair cio: Arcphoo Meni nin) wsheo —_}_Pex foxes speci Preach i. ox computations. Con have any yaltal Same — class. ___ __iden Fler. PeterpiicH ri tyne | > ype | Mus} hare rchura types % a: | Automatically 1o. ae eo Hy toleed | Borpttcitty Jovnkeol using th using new key \— woo7d, é ye | project or class name. i Not inherited Tnhest = Oherited _ a cae Sng! Qnot be Overridden Can be 0 wer ee owe "Se +2 thot 's_the di PPeccnte heluo” methad. ot. Overloading & Overiding tn the form of toble TMcthod _Overboadin = ——————r Method _aversiding. o. }_ Oceuts 10 _Sub¢ — ull SI, class___|_ Hon) Moe tnherttance a clabtneshi ¢ acqulred. Pads Ay pe cor diPher ype sme : 5 soccliic implemental” Reditcalienuttigle ctred that Is olrendy: with the dame 1.0” 7 rod in Sn eae Wpeevent Purctoootl ss ne binding. Ading | Compile Atme binding Compile Aime palymorpt Bh Sa cel we us| What ta the dir fexsoce —E inthe Pore F_toble © Fadl Really us iia in exception Used to Cleon ue —— do reste Biink fandling 49 gurantee | Gpesn’ SiS ceSe ss ya changeable execud? of black Ob: garbage _— cxecut®| Compile Hoe Pan_btme. — [cauted by gonbaa yacel_salth 4ry 8 [Colles laren aby» obout 20— — neclamed : sages | Yortbics methods mineses. Catch blocks te OF on obj’ when dite_cucotects Ths. joys tyes — _ottaibts? ‘Hing lattia\ values for thes Bi NWA Senstesictos tns_the! sams “00 8S 03 _the ——— class belongs +0 pe ee = Ne letirn 4) pc + Consirurtos—do foot have 0 rebut typo Created ob y. nod even Voids their tmplicit ret wen Voluc is the eels tha + ts diPference bedi! totic to be dectored woilth the A | a clarsd_untthovt the stot 2 _Naxtab\e}~—— Stodrc & noo sta tic __tyton Static ——§ ao ' > Key snore. ae ke yusord pewes oe ~ Associa!" [-Geipng tothe class_1tseif slang ts Individual t9S4ooce— i of Class. se ch time 0 — F SAM 9 cat 2 memory once ——)- Aljocated memory 0: when the cle js fooded |. ned _obj- ig omen tect — —__— Ook cade boxed} Bach nhjcod linos: tts Sos by alt_lasiance oF the Seoornde_copy— —

You might also like