- Kotlin Programming By Example
- Iyanu Adelekan
- 95字
- 2021-08-27 20:00:12
Packages
A package is a logical grouping of related classes, interfaces, enumerations, annotations, and functions. As source files grow larger, it is necessary to group these files into meaningful and distinct collections for various reasons, such as to enhance the maintainability of applications, name conflict prevention, and access control.
A package is created with the package keyword followed by a package name:
package foo
There can be only one package statement per program file. If a package for a program file is not specified, the contents of the file are placed into the default package.
推薦閱讀
- C及C++程序設計(第4版)
- FuelPHP Application Development Blueprints
- Learning C# by Developing Games with Unity 2020
- Learning Cython Programming
- Building a Game with Unity and Blender
- Oracle數據庫從入門到運維實戰
- 劍指MySQL:架構、調優與運維
- NGINX Cookbook
- Create React App 2 Quick Start Guide
- Django 3.0應用開發詳解
- Backbone.js Testing
- AMP:Building Accelerated Mobile Pages
- Advanced Python Programming
- Greenplum構建實時數據倉庫實踐
- JavaScript程序設計基礎教程(慕課版)