title: Difference between the default access specifier and protected access specifier in java
body: <p>I was trying to learn java and when I went through access specifiers I had a doubt. What is the difference between the default one if none is specified and the protected access specifier in java?</p>