The
is just a blank if statement which does nothing.
So when
is called it calls the
test method,
does nothing [if(false);] and then sample() method outputs the "Sample".
Here sample() method is not conditional,it executes always irrespective of the flag.