• +91 9723535972
  • info@interviewmaterial.com

Kotlin Interview Questions and Answers

Question - Do we have a ternary operator in Kotlin just like Java?

Answer -

No. In Kotlin, we don't have a ternary operator like Java, but we can use the functionality of the ternary operator by using if-else or Elvis operator.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners