15 lines
134 B
Plaintext
Raw Permalink Normal View History

2013-10-18 13:33:46 +02:00
class Toggle2
{
boolean toggle(boolean b)
{
if(b)
{
b = false;
}
else
{
b = true;
}
return b;
}
}