Skip to content

Instantly share code, notes, and snippets.

@PragmaticCoding
Created November 26, 2021 20:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PragmaticCoding/f0df4dbfb6a5835e093c2983223fb394 to your computer and use it in GitHub Desktop.
Save PragmaticCoding/f0df4dbfb6a5835e093c2983223fb394 to your computer and use it in GitHub Desktop.
class Sample {
var intField: Int = 0
}
fun UseSample() {
val sample = Sample()
sample.inField = 3
println(sample.intField)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment