Vidyalelo
Computer Science · Q213

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 213

Q213

How can you create a variable with the numeric value 5?

A.
num = 5 int
B.
int num = 5
C.
num = 5
D.
val num = 5
Answer

Answer: Option D

Solution

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