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

By | January 1, 2023

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