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.

is a composer and photographer from Detroit, Michigan. He has been working on a Java program to display certain mathematical diagrams.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store