Operators

© examsiri.com
Question : 8 of 23
 
Marks: +1, -0
Given:
class Fork {
  public static void main(String[] args) {
   if(args.length == 1 | args[1].equals("test")) {
    System.out.println("test case");
   } else {
      System.out.println("production " + args[0]);
} } }

And the command-line invocation:
java Fork live2
What is the result?
Go to Question: