- Hands-On Design Patterns with Kotlin
- Alexey Soshin
- 70字
- 2021-06-25 20:49:22
Code structure
The first thing you'll need to do when you start programming in Kotlin is create a new file. Kotlin's extension is usually .kt.
Unlike Java, there's no strong relationship between the filename and class name. You can put as many public classes in your file as you want, as long as the classes are related to one another and your file doesn't grow too long to read.
推薦閱讀
- Mobile Web Performance Optimization
- SAS數(shù)據(jù)統(tǒng)計分析與編程實踐
- WordPress Plugin Development Cookbook(Second Edition)
- Learning Hadoop 2
- SQL Server 2016 從入門到實戰(zhàn)(視頻教學版)
- UI設(shè)計基礎(chǔ)培訓(xùn)教程(全彩版)
- Anaconda數(shù)據(jù)科學實戰(zhàn)
- Android Studio開發(fā)實戰(zhàn):從零基礎(chǔ)到App上線 (移動開發(fā)叢書)
- Java高并發(fā)編程詳解:深入理解并發(fā)核心庫
- MySQL數(shù)據(jù)庫應(yīng)用實戰(zhàn)教程(慕課版)
- 零基礎(chǔ)學SQL(升級版)
- 安卓工程師教你玩轉(zhuǎn)Android
- Oracle SOA Suite 12c Administrator's Guide
- 詩意的邊緣
- Python全棧開發(fā):數(shù)據(jù)分析