JavaCompilerCore/examples/OldExamples/hama/Toggle2.jav
2013-10-18 13:33:46 +02:00

15 lines
134 B
Java
Executable File

class Toggle2
{
boolean toggle(boolean b)
{
if(b)
{
b = false;
}
else
{
b = true;
}
return b;
}
}