type name type name new typesize type name Slides: 6 Download presentation การประกาศอาเรย type[] name; type[] name = new type[size]; type[] name = new type[] {value 1, value 2, . . . }; อาเรย 2 มต type [][] name = new type[ROW][COLUMN]; int [][] number = new int[4][4]; char [][] c = new char[][] { {'A', 'B', 'C'}, {'D', 'E', 'F'} }; อาเรย 3 มต และอาเรยหลายมต int[][][] three. Dimension = new int[3][4][5]; int[]. . . [] multi. Dimension = new int[dim_1]. . . [dim_n]; type here type here type here type heretype Type type Numeric type Integer Ada 3Common Type System n Value Type Reference TypeType Concret Type Abstrait Type concret Dfinition UnType Checking and Scope Type Checking Type checkingType Inference using Type Constraints Type Inference using