https://kotlinlang.org logo
Title
s

Shawn

04/09/2019, 4:08 AM
Well,
Int
can be primitive but isn’t necessarily
for most intents and purposes, Int and the other numeric types correspond to their boxed versions
<http://kotlin.Int|kotlin.Int>
->
java.lang.Integer
s

Smallville7123

04/09/2019, 4:11 AM
basically im trying to determine if a paramater can be instanced or not
s

Shawn

04/09/2019, 4:12 AM
can be instanced?
s

Smallville7123

04/09/2019, 4:29 AM
with .javaClass.newInstance()