Answer:
if user pass true or TRUE program show output as "false" and if user pass false or FALSE program shows output as true, except these four input, for all other input it shows true, and if we do not pass command line arguments it throws ArrayIndexOutOfBoundsException
Explanation:
public class Not{
public static void main(String [] args){
boolean b = Boolean.parseBoolean(args[0]);
System.out.println(!b);
}
}