+ 2
How to understand flag variable in java programming and how to use flag variable ?
for example set variable boolean flag = false ;
2 Respuestas
0
Can you show an example of a flag variable? not sure what you meant here ...
0
flag = true indicates that something has happened or should happen. The variable name does not specify what,
but another part of the code knows the meaning and what it has to do