0 votes
in JAVA by

What are the access modifiers in Java?

1 Answer

0 votes
by

There are 3 access modifiers. Public, protected and private, and the default one if no identifier is specified is called friendly, but programmer cannot specify the friendly identifier explicitly.

Related questions

+1 vote
asked Jan 20, 2022 in JAVA by rajeshsharma
+1 vote
asked Feb 18, 2020 in JAVA by rahuljain1
...