-
-
Save ArvinRokni/d6c855ad8d843501438aa387d396df57 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@JvmOverloads fun example(a:Int=0, b: Double =0.0, c:String="default value"){ | |
println("a=$a , b=$b ,c = $c") | |
} | |
data class Sample @JvmOverloads constructor (var name: String? = "", var date: Date? = Date(), var isPrivate: Boolean = false) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment