Saturday, August 21, 2010

In java, A variable declared inside the for loop control cannot be referenced outside the loop ?

TRUE / FALSE In java, A variable declared inside the for loop control cannot be referenced outside the loop ?
TRUEIn java, A variable declared inside the for loop control cannot be referenced outside the loop ?
I think it depends on what the variable is declare as. Like public or private. But I'm not sure though.
TRUE
  • gas mask
  • No comments:

    Post a Comment