What are the access modifiers in Java?
Answers
Answered by
1
There are four types of access modifiers available in java: Default – No keyword required. Private. Protected.
Answered by
0
Answer:
access modifiers in Java helps to restrict the scope of a class constructor variable method or data member.
Similar questions
Chemistry,
6 months ago
Social Sciences,
6 months ago
Math,
1 year ago
Math,
1 year ago
Geography,
1 year ago