This is the *JAVA* forum.
About the only thing the two languages have in common (any more than they share C-style syntax) is the first four characters of their names.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.