Question: Which is the correct declaration of an integer array with a size of 5?
- `val arrs[5]: Int`
- `val arrs = IntArray(5)`
- `val arrs: Int[5]`
- `val arrs = Array
(5)`
Answer: The correct answer of the above question is Option B:`val arrs = IntArray(5)`