System. The out. Printf (s.t oString ())
Println (name)
The Log output is not successful,
Through the I, e, d output can, why?
CodePudding user response:
You try the println (" $name name ")Can see the output
CodePudding user response:
Kotlin can type conversion without the tostringCodePudding user response:
The new project so no? Found a day can output, and can't remember, restart or
Println (obj: : class)
I/System. Out: class Java lang. String (Kotlin reflection is not available)
May need to restart the