What is a Protected Method?

A protected method can be called by any subclass within its class, but not by unreleated classes.

Declaring a method protected defines its access level.

The other options for declaring visibility are private and public.

If undeclared, the default access level is package.



Top 5 Free Networking Tools

Bookmark What is a Protected Method?

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.