Skip to content

Instantly share code, notes, and snippets.

@ArvinRokni ArvinRokni/JvmOverloads is coming! Secret
Last active Jun 6, 2019

What would you like to do?
@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
You can’t perform that action at this time.