Given the code fragment:
What is the result?
AB
A element 0B element 1
A NullPointerException is thrown at runtime.
A 0B 1
Submit