Pergunta de entrevista da empresa Tata Technologies

Basic question related to Kotlin and Java.