No Scope Modified is NOT same as protected. It is stricter than protected. Subclass cannot access it, while protected can be accessed.
No modifier is NOT the same as protected. It means it's package accessible (as in com.roseindia.*)
i would like to learn everything about Java
Post your Comment