public class Array1 { void foo(){ int value[] = {}; int val = value.<ref>length; } }