Skip to main content

These are the different Access Modifiers in programming language

Access modifiers is the terinology given to describe the various roles and perimission that a variable within a parent / sub class can have on various places.

Access Modifiers are of 4 types

Public – This would mean that the variable is freely allowed to be used anywhere

Default – This means that the variable / method is allowed freely to be used accessed within the package alone

Private – This means that the variables / methods are allowed only in the parent class and restricted to it. This cannot be accessed outside of the class, even the subclass does not have access to it

Protected – A protected variable / function has access full access to any class as long as they are in the same package or any subclass irrespective of pacakge. 🙂 If you feel confusing, watch out the video below

Comments

Popular posts from this blog

Motivational Letter for Visa

 Motivational Letter for Visa To, The visa officer  XXXXXXXXXXXX From, XXXXX XXXXXXXXXXXXX Subject: Request for XXXX tourist Visa - Reg.   I am <YOU_NAME> holding Indian Passport ( No. <PASSPORT_NO>.  I would like to visit <PLACE> for a tourist vacation as a tourist along with my family, details given below. I have also enclosed my own financial papers, hotel bookings and flight ticket for your perusal. I will abide to the terms and conditions of the visa regulations and will return to my home country before my stipulated visa duration period. I am planning to travel on  < DATE MOTH YEAR> and return on <DATE MONTH YEAR > . The flight ticket and other travel expenses will be borne by me.    NAME DOB PASSPORT NO ISSUE DATE EXPIRY DAT...

South Korea Places to Visit

 South Korea Places to Visit Gyeongbokgung Palace National Folk Museum Myeong-dong Hanok village               Changdeokgung Palace      Seoul Tower - on Namsan Hill   Dongdaemun Night Market  Everland Theme Park  Gyeongju The Beomeosa Templ Busan Jeju Island  Shopping at Olive Young  Shopping at ART Box for kids    Seodaemun Prison History Museum  Street Market shopping  

B2 - Schreiben - Teil 1 - Nutzung von Sozialen Medien Heute

An alle, auch ich möchte heute in unserem Blog zum Thema ,, Nutzung von sozialen Medien heute ´´ schreiben. Das Thema ist deswegen aktuell, weil Nutzung von sozialen Medien sich im Laufe der zeit stark verändert . Ich bin der Meinung, dass Sozialen Medien eine wichtigste Rolle im unseren Leben haben. Vor 20 Jahren war alles anders. Aus meiner persönlicher Erfahrung kann ich sagen, als ich im 2006 war, hatte nur ein Sozial Netzwerk, heißt ,,Orkut´´. Wir sind sehr entspannend, weil etwas Neuartigkeit angekommen hatten. Wir hatten nur im Telephone gesprochen.  Es war einerseits keine Smartphone andererseits keine Stärke Internet Verbindung. Außerdem mussten Wir in den Computer benutzen. Im Jahr 2010 verschiedene Sozial Medien hat gegründet. Es war ein Wendepukte im unsere Leben.  Heutzutage benutzen wir für unterschiedlichen Aktivität zum Beispiel, Chatten mit Freunden, Notkommunikation, Job suchen, Job posten, Fähigkeit steigern u.s.w. Es ist ein unbedingt teil im unse...