Alonso Del Arte
1 min readJul 5, 2020

--

I think it was here on Medium that I saw an article with a clickbait title to the effect of “Protected access always bad! Never use it!”

Reading the article, a different impression emerges: protected access has its uses, but most of the time, public, private or package private access make more sense. Maybe modules make protected even less necessary.

Still, I do think protected is more useful than, say, strictfp.

--

--

Alonso Del Arte
Alonso Del Arte

Written by Alonso Del Arte

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

No responses yet