Computer Science, asked by sharmaishant3767, 1 year ago

What are the access modifiers in Java?

Answers

Answered by prince614710
1
There are four types of access modifiers available in java: Default – No keyword required. Private. Protected.
Answered by amitaagarwal4827
0

Answer:

access modifiers in Java helps to restrict the scope of a class constructor variable method or data member.

Similar questions