A Admin • 832.27K Points Coach Q. What does `Function<String, Integer> lengthFunc = String::length;` do? (A) Creates a string (B) Maps string to its length (C) Converts integer to string (D) Checks if string is empty Correct Answer - Option(B) Views: 16 Filed under category Java Hashtags: Method Reference Share Manage Tags
Discusssion
Login to discuss.