- 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.
推薦閱讀
- 無代碼編程:用云表搭建企業(yè)數(shù)字化管理平臺
- AngularJS Web Application Development Blueprints
- Julia機器學習核心編程:人人可用的高性能科學計算
- HTML5游戲開發(fā)案例教程
- Java程序設(shè)計
- Advanced Oracle PL/SQL Developer's Guide(Second Edition)
- Getting Started with Hazelcast(Second Edition)
- 用案例學Java Web整合開發(fā)
- MySQL 8從零開始學(視頻教學版)
- Sitecore Cookbook for Developers
- 3D Printing Designs:Octopus Pencil Holder
- 程序員的英語
- Mobile Test Automation with Appium
- 編程風格:程序設(shè)計與系統(tǒng)構(gòu)建的藝術(shù)(原書第2版)
- 深度剖析ApacheDubbo核心技術(shù)內(nèi)幕