0
I need answers please. What could be wrong with this code? It ran perfectly in my IntelliJ IDEA on my laptop but not on here.
4 Antworten
+ 7
Hmmm! The 'var' keyword appears to be specific to Java 10. Code Playground probably runs below that (supposingly Java 8, if not 9). Good to know.
+ 3
Change 'var' to 'String[]'
+ 1
oh right! thanks for clarifying.
0
thanks! it worked. but why did it not work like it did on the laptop? and how do I print out the output in ascending order