What do you mean by package access modifier?

Questions by neven

Showing Answers 1 - 3 of 3 Answers

Access modifier are used to implement encapsulation feature of oops.There are 3 access specifiers namely

Private: The current class will have access to the field or method.
Protected - The current class and its subclasses will have access to the field or method.
Public - Any class can refer to the field or call the method

  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