QuestionQ158

Creating and Using Arrays

Given the code in the App.java file:

Question Image

Which command prints SE 8 Standard in the console window?

  • A java App “SE 8 Standard”
  • B java App “SE 8”, “Standard”
  • C java App SE 8 Standard
  • D java App “SE 8” Standard
Explanation

Command-line quotation marks keep SE 8 together as the first argument, while Standard is supplied as the second argument. The program prints those two arguments with a colon between them, resulting in SE 8:Standard.

Community Discussion

No comments yet. Be the first to start the discussion!