Publicis Sapient interview question

Kotlin syntax and android lifecycle