protected variables

[prəˈtɛktɪd ˈvɛriəbəlz]
nounpl: protected variables
variáveis protegidas
1. In object-oriented programming, variables declared with the 'protected' access modifier that can be accessed by the class itself, its subclasses, and other classes within the same package, but not by external classes
The protected variables in the parent class are accessible to all child classes that inherit from it.
As variáveis protegidas na classe pai são acessíveis a todas as classes filhas que herdam dela.
2. Class member variables that restrict direct access from outside the class hierarchy while allowing inheritance-based access
By using protected variables, we maintain encapsulation while still allowing derived classes to modify internal state.
Ao usar variáveis protegidas, mantemos o encapsulamento enquanto ainda permitimos que classes derivadas modifiquem o estado interno.
This is specialized technical terminology used uniformly in programming contexts across Brazil, Portugal, and English-speaking countries. It reflects the globalized nature of software development where technical vocabulary remains consistent regardless of region. Developers maintain these terms in English even when programming in Portuguese-speaking environments.
Synonyms / Sinônimos
protected membersprotected fieldsprotected attributesprotected data members
Antonyms / Antônimos
public variablesprivate variablespackage-private variables

Regional Variations

General Brazilian Portuguese
variáveis protegidas
Standard technical term used in programming education and documentation
Portugal
variáveis protegidas
Same as Brazilian Portuguese; technical terminology is consistent across Portuguese-speaking regions
USA
protected variables
Standard English term in software development and computer science

Related Words

encapsulationaccess modifiersinheritanceobject-oriented programmingclass hierarchymember variablesdata hiding

Related Idioms & Phrases

protect against unauthorized access
inheritance chain
encapsulation principle
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →