Java - compilation problem

Hello coders (especially Java coders),

it seems that even when we have Java 7 available for submissions, code is compiled with Java 6.

I found it when submitted code using diamond operator.

List<Integer> list = new ArrayList<>();

changing the above code to Java 6 version fixed the compilation problem

List<Integer> list = new ArrayList<Integer>();

…just letting you know :wink:

4 Likes

Just got reply from admins and Java 7 should work for Cube but not for Pyramid (more info about Cube and Pyramid). You can find easily from other Java implementations if it’s the first or second one - memory allocated Java program on Pyramid is ~180MB, for Cube ~1400MB.

2 Likes
//