Assuming the Widget class has a getPrice method, this code does not compile:
Which two statements, independently, would allow this code to compile? (Choose two.)
Replace line 5 with widgetStream.filter(a −> ((Widget)a).getPrice() > 20.00).
Replace line 1 with List widgetStream = widgets.stream();.
Replace line 5 with widgetStream.filter((Widget a) −> a.getPrice() > 20.00).
Replace line 4 with Stream widgetStream = widgets.stream();.
Submit