0
What is the difference between scope and access modifier in java?
2 odpowiedzi
+ 1
Find the explanation in http://javabasictoadvanced.blogspot.co.id/2016/07/access-modifier.html
0
scope : It refers to the coding block , between {}.
For example:
class Scope {
}// the scope of the class lies between {}
access modifier: it specifies the accessibility of the method or field , to the once invoking them.