Task 4 of 7 · 0 solved · 7 to go0%
You can read the problem, but answers are checked only for signed-in students. Sign in to answer →

9.3 Wildcards — count numbers above a threshold

Total: 0 / 3 pts
Practice mode — check each part and get hints as you go.
Task

Fill in countAbove so that it returns how many numbers are strictly greater than threshold.

Reading is allowed through ? extends Number; adding would not compile. The program prints 2.

Your solution