The function 'typeChecker' receiver a parameter 'obj' of type 'Any'. Based upon the type of 'obj', it prints different messages for Int, String, Double, and Float types; if not any of the mentioned types, it prints 'unknown type'. What operator allows you to determine the type of an object?

🎲 Try a Random Question  |  Total Questions in Quiz: 83  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Kotlin Quiz — practice the complete quiz, review flashcards, or try a random question.

Kotlin MCQs For LinkedIn Skill Assessments.


The function 'typeChecker' receiver a parameter 'obj' of type 'Any'. Based upon the type of 'obj', it prints different messages for Int, String, Double, and Float types; if not any of the mentioned types, it prints 'unknown type'. What operator allows you to determine the type of an object?