package argument_out; public class TestArray { public int bar(int a[]) { return a[0]; } public void main() { int i= (new int[] {1})[0]; } }