I looked at some Java code today, and I found some weird syntax:
public class Sample { public int get()[] { return new int[]{1, 2, 3}; } }
That's a funny Question. In java you can say int[] a;, as well as int a[];. From this perspective, in order to get the same result just need to move the [] and write public int[] get() {. Still looks like the code came from an obfuscator...
int[] a;
int a[];
[]
public int[] get() {