Access Modifier, Public, Default, Private, Protected, Access Modifier in Java - Javatpoint - 0 views
-
mahesh 1234 on 24 Dec 13There are two types of modifiers in java: access modifier and non-access modifier. The access modifiers specifies accessibility (scope) of a datamember, method, constructor or class. There are 4 types of access modifiers: There are many non-access modifiers such as static, abstract, synchronized, native, volatile, transient etc. Here, we will learn access modifiers.