Given fun greet(name: String = “friend”) = “Hi, $name”, calling greet() with no arguments returns “Hi, friend”.
Category: Uncategorized
Which of the following are valid ways to iterate the numbers…
Which of the following are valid ways to iterate the numbers 1 through 5 in Kotlin? (Select all that apply.)
What does Kotlin generate automatically for a data class?
What does Kotlin generate automatically for a data class?
Which Compose layout stacks its children on top of each othe…
Which Compose layout stacks its children on top of each other, aligned inside the parent’s bounds?
Which of the following are true about Kotlin data classes? (…
Which of the following are true about Kotlin data classes? (Select all that apply.)
An abstract class in Kotlin can be instantiated directly wit…
An abstract class in Kotlin can be instantiated directly with its constructor.
Which when branch executes for x = 3? val label = when (x) {…
Which when branch executes for x = 3? val label = when (x) { 1, 2 -> “low” in 3..5 -> “mid” else -> “high” }
Which tool assembles an Android project, resolves dependenci…
Which tool assembles an Android project, resolves dependencies, and produces the APK?
Which of the following are minimum workstation requirements…
Which of the following are minimum workstation requirements called out in the ITP 226 syllabus? (Select all that apply.)
“Open-book on the course materials” for these exams means:
“Open-book on the course materials” for these exams means: