Kotlin study notes | numeric types

This article is from the "Golden teacher's computer self-site" learning the notes on the strong push! Content is particularly good. There is a need to learn oh ~


 

table of Contents

 

1, Kotlin built-in value type

2, assignment

3. Tip: generates a random integer

4, the number of the - pair Class

5, Triple category


1, Kotlin built-in value type

NOTE: Unlike Java, Kotlin in the original packaging type and the same type of representation!

 

2, assignment

3. Tip: generates a random integer

4, the number of the - pair Class

5, Triple category



This article is from the "Golden teacher's computer self-site" learning the notes on the strong push! Content is particularly good. There is a need to learn oh ~

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Published 138 original articles · won praise 63 · views 10000 +

Guess you like

Origin blog.csdn.net/weixin_43787043/article/details/104577177