Instant.parse("2021-11-11T10:10:35Z")这行代码的作用是什么? A. 将字符串转换为Date对象 B. 将字符串转换为Instant对象 C. 将Instant对象转换为字符串 D. 将Date对象转换为字符串 答案解析 这行代码的作用是将符合ISO8601格式的字符串转换为Instant对象。因此,正确答案是B。 正确答案:B