Цитирай Първоначално написано от MrCreeper Виж мнението
Недей да го лъжеш, напълно възможно е!
The elements field within brackets [] which represents the number of elements the array is going to hold, must be a constant value, since arrays are blocks of non-dynamic memory whose size must be determined before execution. In order to create arrays with a variable length dynamic memory is needed