The “import java.util.function cannot be resolved” error

后端 未结 8 1591
感动是毒
感动是毒 2021-01-11 12:49

I\'m trying to run this practice script from the standard Oracle Java tutorials.

This seems to be a common error and I\'ve used SO resources to make attempts to fix

8条回答
  •  死守一世寂寞
    2021-01-11 13:25

    For idea IntelliJ you need to go to Menu-> Project Structure -> Module here you will see Source tab, above this tab you can see language level. change it to more than 8.

    -yash

提交回复
热议问题