Q: 7
Given the code fragment:
List listVal = Arrays.asList(“Joe”, “Paul”, “Alice”, “Tom”);
System.out.println (
// line n1
);
Which code fragment, when inserted at line n1, enables the code to print the count of string
elements whose length is greater than three?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.