• +91 9723535972
  • info@interviewmaterial.com

Kotlin Interview Questions and Answers

Question - Explain functions in kotlin?

Answer -

Functions used in kotlin are simple to store in data structures and variables and can possess arguments that are passed from the high ordered data functions.

 An example of the sample function declaration in kotlin:

function double(y:int): 
Int
 {
    return 3 * y
  }
val reslt = double(3)

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners