Exit 1Z0-815 Java SE 11 Programmer I
Question 1 of 5
0% complete
Q1 Single choice

Given:

executed with this command:

java Main one two three

What is the result?

  • A

    0). one

  • B

    0). one

    1). two
    2). three

  • C

    The compilation fails.

  • D

    It creates an infinite loop printing:
    0). one
    1). two
    1). two
    ...

  • E

    A java.lang.NullPointerException is thrown.

Previous Next