About Question enthuware.ocajp.i.v7.2.982 :
Posted: Wed May 06, 2015 6:21 am
{ flag = true; loop = 0; }
flag is not static and so it can be accessed only from a non-static block. loop is static so can be accessed from any block.
but loop is private as well,
so when we say any, it means method of same class?
flag is not static and so it can be accessed only from a non-static block. loop is static so can be accessed from any block.
but loop is private as well,
so when we say any, it means method of same class?