Join Slack
Powered by
if you decompile generated bytecode into Java (whi...
# announcements
c
Czar
05/15/2018, 12:38 PM
if you decompile generated bytecode into Java (which I always recommend when you have similar questions) you'll see that both
val
and
const val
will generate
static
fields, but
const val
will be
public
and won't have a getter, simple
val
on the other hand will be
private
and will have a getter.
Open in Slack
Previous
Next