In the file main.kt, you ae filtering a list of integers and want to use an already existing function, removeBadValues. What is the proper way to invoke the function from filter in the line below?
val list2 = (80..100).toList().filter(_____)
val list2 = (80..100).toList().filter(_____)A. ::removeBadValues
B. GlobalScope.removeBadValues()
C. Mainkt.removeBadValues
D. removeBadValues
Answer: Option A

Join The Discussion