how do I set an arrays length in java code example Example: set array length java int[] num = new int[5];