Professional Development

Professional Development

Image

Kotlin Fundamentals

Show Answers
See Preview
  • 1. Multiple Choice
    30 seconds
    5 pts

    Ключевое слово для создания неизменяемых переменных

    var

    let

    final

    val

  • 2. Multiple Choice
    30 seconds
    5 pts

    fun doSmth (): Any {}

    val a = "${doSmth()}"

    Какого типа будет a?

    Any

    String

    ()->Any

    CompileError

  • 3. Multiple Choice
    1 minute
    5 pts

    val john : Person? = Person("John", 32)

    val age = john?.age

    val offsetAge = age + 1

    Чему будет равен offsetAge?

    33

    32

    null

    CompileError

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?