--

That's true in Scala and probably Kotlin, too, but not Java. In the "fictional" `java.util.Example` I gave in response to your first question, that class accesses `Random`'s `next()` without subclassing it.

Completion suggestions is one issue. The main issue that I have with my own earlier use of protected is that I was not being deliberate in my choice of access modifiers.

--

--

Alonso Del Arte

is a Java and Scala developer from Detroit, Michigan. AWS Cloud Practitioner Foundational certified