Given:
What is the result?
A. 91 98
99100 null null null
B. 91 98
99100 101 102 103
C. Compilation rails.
D. A NullPointerException is thrown at runtime.
E. An ArraylndexOutOfBoundsException is thrown at runtime.
Given:
What is the result?
A. 91 98
99100 null null null
B. 91 98
99100 101 102 103
C. Compilation rails.
D. A NullPointerException is thrown at runtime.
E. An ArraylndexOutOfBoundsException is thrown at runtime.
ans is not above,
The output is:
97 98
99 100 null null null
Cmon guys, the answer is A
Theres a typo on the answers, should have been 97 98 not 91 98