What is the differance between Access Spacifier and Modifier.

Showing Answers 1 - 7 of 7 Answers

Renu

  • Jul 24th, 2007
 

Access specifier like public, private and protected.
Private - access only within the class
Protected - access only within the package
Public - access provided for the field from wherever it is called from, can be also from the outside the package.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions