+ 1

What version is the Java tutorial for?

I used the Java course on here to learn Java and the formatter isn't working. I'm using Java SE 15.

20th Feb 2021, 5:14 PM
Node Entity
Node Entity - avatar
3 Answers
+ 2
The current version installed is Java 16-ea (open-jdk). I think the course was created around Java 7 or 8.
20th Feb 2021, 5:21 PM
ChaoticDawg
ChaoticDawg - avatar
+ 1
java 8
20th Feb 2021, 5:58 PM
Asqar Arslonov
Asqar Arslonov - avatar
0
playground shows java 16 ea - records are still preview feature, (not in final Java 16 ) class Program { public static void main(String[] args) { } } record Person (String name, String address) {} yes formatter is corrupted I got it on web page playground, but it might be more about Sololearn web solution
20th Feb 2021, 7:25 PM
zemiak