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
ScopeST April 18, 2011 at 12:14 PM
No Scope Modified is NOT same as protected. It is stricter than protected. Subclass cannot access it, while protected can be accessed.
not correctChristian B July 13, 2012 at 9:36 PM
No modifier is NOT the same as protected. It means it's package accessible (as in com.roseindia.*)
methodonalethata akoonyatse March 27, 2013 at 4:10 PM
i would like to learn everything about Java
Post your Comment