Categories
Core JAVA

Access Specifier in java…

Access-specifier in JAVA:- Access Specifier in java regulate access to class,field & method. There are 4 types of access specifier present in java such as:- Public Protected Default Private The only job of access specifier is to scope the boundary of variable method constructor class. 1.Public:- a.Public has less restriction. b.In other word is has […]