Your application has an 'add' function. How could you use its 'invoke' methods and display the results?kotlinfun add(a: Int, b: Int): Int { return a + b}

🎲 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.


Your application has an 'add' function. How could you use its 'invoke' methods and display the results?<br>kotlin<br>fun add(a: Int, b: Int): Int {<br> return a + b<br>}<br>