Quiz: Objects
Test your understanding of the concepts discussed in this chapter.
1
What is the output of the following code?
data object ABC
fun main() {
println(ABC)
}
A)
data object ABC
B)
ABC@1f89ab83
C)
object ABC
D)
ABC
Question 1 of 50 attempted
Get hands-on with 1200+ tech skills courses.