Given: var fruits = List.of("apple", "orange", "banana", "lemon"); You want to examine the first element

By | December 31, 2022

Given:
var fruits = List.of(“apple”, “orange”, “banana”, “lemon”);
You want to examine the first element that contains the character n. Which statement will accomplish this?

Correct Answer: B