Which access modifier is the most restrictive modifier for a method to be accessed from the subclasses of the class from another package? a) private b) protected c) default d) public e) final f) abstract My answer is (b).. am I right??
<B>-Kaleem Haqqi</B><BR>Java is mind work. Having the right frame of mind is essential.
hello kaleem, yes, b is right. protected is less restricive than default and more restrictive than public. default is wrong because it won't allow access from outside the package. kind regards, james
Don't get me started about those stupid light bulbs.