单选题:What will happen to access an invalid index of an array?
What will happen to access an invalid index of an array? @[B](2)
A. Program terminated.
B. Exception thrown.
C. System crashed.
D. Access ignored.
A.Program terminated.
B.Exception thrown.
C.System crashed.
D.Access ignored.
答案:B
A. Program terminated.
B. Exception thrown.
C. System crashed.
D. Access ignored.
A.Program terminated.
B.Exception thrown.
C.System crashed.
D.Access ignored.
答案:B