Given the code fragment:
What is the result?
A.
Invalid Name
B.
Invalid Name
omas
C.
Invalid Name
omas
null
null
D.
omas
ter
seph
Given the code fragment:
What is the result?
A.
Invalid Name
B.
Invalid Name
omas
C.
Invalid Name
omas
null
null
D.
omas
ter
seph
Test C.
C. because throws a exception in name Peter, but save the substring of Thomas. print omass, null, null because the array has 3 positions, although only one is fill.