What SDK version is Mosh using?

Hi i’m following through Mosh’s Array video but im unsure which SDK version he is using as it doesn’t work for me when i run the code on intelliJ.

I doubt your problem is related to SDK version. The code should work with recent JDKs.

Yeah its sorted now, it wasn’t a JDK issue.