doubt in java
can any one tell me what condition we should give in if statement in order to execute both if and else statements??
for ex:
if( ???)
System.out.println("hello");
else
System.out.println("world");
it should print helloworld,,please fill ????
problem m facing is in ?? i provide int it doesnot accept...and ! condiiton is giving error if i use System.out.println() function,s return value...
pls solve it......