Erroneous lines

Report a typo

Suppose you have a non-initialized val variable.

val applesCount: Int

Which of the following code blocks will cause an error?

Note that one of the options has two lines of code.

Select one or more options from the list

Create a free account to access the full topic