• +91 9723535972
  • info@interviewmaterial.com

Kotlin Interview Questions and Answers

Question - Can we use primitive types such as int, double, float in Kotlin?

Answer -

Kotlin doesn't support the primitive types so, we can't use primitive types directly in Kotlin. We can use classes like Int, Double, etc., as an object wrapper for primitives. But the compiled bytecode has these primitive types.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners