Question: Which is the correct declaration of an integer array with a size of 5?

  1. `val arrs[5]: Int`
  2. `val arrs = IntArray(5)`
  3. `val arrs: Int[5]`
  4. `val arrs = Array(5)`

Answer: The correct answer of the above question is Option B:`val arrs = IntArray(5)`