public : method which are public there scope is available to child and which ever class wants to use it.
protected : scope visible only in child package
private : scope visible only in class.
protected : scope visible only in child package
private : scope visible only in class.
No comments:
Post a Comment