how to make an array no length in java code example Example: set array length java int[] num = new int[5];