protected/1
protected(Functor/Arity) protected(Functor1/Arity1, Functor2/Arity2, ...) protected([Functor1/Arity1, Functor2/Arity2, ...])Declares protected predicates. A protected predicate can only be called from the object containing the declaration or from an object that inherits the declaration.
protected(+predicate_indicator_term)
:- protected(init/1). :- protected(print/2, convert/4). :- protected([load/1, save/3]).