java equivalent of Delphi NOT

Posted by Leslie on Stack Overflow See other posts from Stack Overflow or by Leslie
Published on 2010-04-06T16:23:57Z Indexed on 2010/04/06 16:53 UTC
Read the original article Hit count: 381

Filed under:
|
|

In Delphi I can do the following with a boolean variable:

If NOT bValue then
begin
//do some stuff
end;

Does the equivalent in Java use the !?

If !(bValue) {
//do some stuff
}

Thanks!

© Stack Overflow or respective owner

Related posts about java

Related posts about delphi