摘要:##kotlin中的函数 最基本的打印函数 //kotlin 中是不需要分号的 (如果一行中只有一条语句) fun main() { print("hello world") println("hello world") } //输出结果为 : hello worldhello world //pr
阅读全文
posted @ 2022-07-28 23:00
随笔 - 46, 文章 - 0, 评论 - 0, 阅读 -
9596
|
|
随笔分类 - kotlin在学习kotlin的过程中,记录简单的语言语法规则
摘要:##kotlin中的函数 最基本的打印函数 //kotlin 中是不需要分号的 (如果一行中只有一条语句) fun main() { print("hello world") println("hello world") } //输出结果为 : hello worldhello world //pr
阅读全文
posted @ 2022-07-28 23:00
|
|
Powered by:
|