Vidyalelo
Computer Science · Q261

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 261

Q261

What is the type of arr in the following code? val arr = arrayof(1, 2, 3)

A.
IntArray
B.
Array<Int>
Answer
C.
int[]
D.
Int[]

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board