- Learn Kotlin Programming(Second Edition)
- Stephen Samuel Stefan Bocutiu
- 57字
- 2021-06-24 14:13:27
Imports
To enable classes, objects, interfaces, and functions to be used outside of the declared package, we must first import them. We do this using the import keyword, and then listing the class, object, interface, or function to be imported:
import com.packt.myproject.Foo
In the preceding example, the Foo class was imported from the com.packt.myproject package.
推薦閱讀
- Getting Started with Citrix XenApp? 7.6
- 從零構(gòu)建知識(shí)圖譜:技術(shù)、方法與案例
- Objective-C Memory Management Essentials
- Data Analysis with IBM SPSS Statistics
- Learning Firefox OS Application Development
- MySQL數(shù)據(jù)庫基礎(chǔ)實(shí)例教程(微課版)
- NetBeans IDE 8 Cookbook
- C++從入門到精通(第5版)
- Tableau 10 Bootcamp
- Learning Dynamics NAV Patterns
- Web程序設(shè)計(jì)與架構(gòu)
- ServiceDesk Plus 8.x Essentials
- Instant JRebel
- 深入理解C++11:C++11新特性解析與應(yīng)用
- Modular Programming with PHP 7