Kotlin study notes | characters from the operation to the expression

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 ~


 

1, the operator

 

 Note / type of recognition!

2, the relationship between operators and functions 

 Specific can go to the website point of view:

!!!! 

Large find it! .inc () function to num2 + 1 is assigned to another variable, rather than the assignment to itself after num2 itself +1:

3, '==' and .equals () function

 

 4, Mathematical Functions

5, the expression

Too strong it!

Kotlin Niubi

 

 


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/104578252