官术网_书友最值得收藏!

Naming conventions

As a convention, if your file contains a single class, name your file the same as your class.

If your file contains more than one class, then the filename should describe the common purpose of those classes. Use CamelCase when naming your files, as per the Kotlin Coding Conventions: https://kotlinlang.org/docs/reference/coding-conventions.html#naming-rules.

Actually, you don't have to write your code in a file for simple snippets. You can also play with the language online: try http://kotlinlang.org/ or use REPL and interactive shell after installing Kotlin and running kotlinc.

主站蜘蛛池模板: 永春县| 乐清市| 汉寿县| 莱阳市| 上饶市| 松阳县| 卢湾区| 台东县| 新源县| 桃源县| 德州市| 扎兰屯市| 阜阳市| 江阴市| 色达县| 调兵山市| 河北省| 墨玉县| 昆明市| 平湖市| 遂宁市| 赣榆县| 页游| 乐安县| 府谷县| 平阴县| 深泽县| 蒲江县| 集贤县| 乌拉特前旗| 瓮安县| 天长市| 隆昌县| 达孜县| 丰宁| 青海省| 札达县| 哈巴河县| 湾仔区| 乐都县| 扎囊县|