Wednesday 14 April 2010

Java access control modifiers

According to Sun the access level modifiers act thus:

Modifier Class Package Subclass World
public
protected
no modifier
private

No comments:

Post a Comment