protected
adj. · v.-
1 safe from harm (adj.) B1 Intermediatekept safe from danger, damage, or attack.
shielded from injury, damage, or external interference.
ExampleThe rare birds live in a protected area where hunting is not allowed.
ExampleThe historic district is a protected zone, meaning developers cannot alter the facades of the buildings without government approval.
UsageOften used before a noun to describe legal or environmental status.
-
2 programming access (adj.) C1 Advanced Technical Computinga setting in computer code that lets only certain related parts of the program see or use a piece of data.
an access modifier in object-oriented programming that restricts visibility to the containing class and its subclasses.
ExampleI changed the variable to protected so that the child classes could still use it.
ExampleBy declaring the method as protected, the developer ensured that it remained inaccessible to external packages while allowing for inheritance.
UsageUsed as a keyword in languages like Java, C++, and C#.
Show 1 more senseShow fewer
-
3 past action of guarding (v.) B1 Intermediatethe past tense of protect; to have kept someone or something safe.
the past tense and past participle form of the transitive verb 'protect'.
ExampleThe umbrella protected us from the heavy rain while we walked home.
ExampleThe treaty protected the smaller nation from economic sanctions for over a decade before it was eventually renegotiated.
UsageFollows the standard rules for regular past tense verbs.