Scope modifiers: Difference between revisions

Content deleted Content added
→‎{{header|Java}}: clarify java comments with a table
Line 77:
int code(int arg)
{
int myp; // 1) this can be seen only from inside code
// among2) differentIn recursive code calls:this variable will itbe isin nota about
static int myc; // still a variable that can be seen only from
// inside code, but itsdifferent valuestack willframe be(like kepta closure)
static int myc; // 3) still a variable that can be seen only from
// among different code calls: it is not about
// changing scope in thisinside case!code, but its value will be kept
// among different code calls
// 4) In recursive code this variable will be the
// same in every stack frame - a significant scoping difference
}