please help me understand this piece of code
I know that !true means false and vice versaCode:
boolean condition = false;
// do something
I also have some statements which are familiar for me like
if (something == true)
or while (something == true)
but actually I don't understand the previous piece of code
which is equal to "!condition" ??
I know it means while (true) but does this mean that the loop won't terminate ?
and what about if(true)? which is equal to true ?