• +91 9723535972
  • info@interviewmaterial.com

Kotlin Interview Questions and Answers

Question - What is the equivalent of Java static methods in Kotlin?

Answer -

To achieve the functionality similar to Java static methods in Kotlin, we can use:

  • companion object
  • package-level function
  • object

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners