Which keyword used to create a mutable variable?
Basic Programming Kotlin

Quiz
•
Computers
•
Professional Development
•
Hard
Arif Faizin
Used 141+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
var
val
const
mutable
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the right declaration to make a variable with the Character data type?
val char = 'ABC'
val char = "A"
val char = 'A'
val char = A
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which the right code to declare nullable variable in Kotlin?
val text: String = null
val text: String? = null
val text: nullable = null
val text: String
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Elvis operator keyword?
?:
??
:?
?.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you make the range from a to b?
a in b
a_b
a to b
a..b
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What value is 10 until 12
10 11 12
10 11
11 12
All is wrong!
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When you use a data class, what functions will the compiler automatically provide?
paste(), toDouble(), notEquals()
toString(), cut(), dan isEmpty()
equals(), copy, dan toInt()
copy(), equals, dan toString()
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Introduction to PHP

Quiz
•
Professional Development
10 questions
Microprocessor 8086 Architecture -Module I

Quiz
•
Professional Development
13 questions
Javascript HTML CSS

Quiz
•
Professional Development
10 questions
Jetpack Compose

Quiz
•
Professional Development
12 questions
Week 1

Quiz
•
Professional Development
11 questions
ICTDBS506- HASHES, SALTS, PEPPERS Quiz

Quiz
•
Professional Development
11 questions
CIW IBA Lesson 4 Vocabulary

Quiz
•
8th Grade - Professio...
10 questions
Java main() and Scanner

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade