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

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.

主站蜘蛛池模板: 香河县| 浏阳市| 松阳县| 汝南县| 丰宁| 德令哈市| 宾川县| 定州市| 南召县| 北海市| 治多县| 乌兰察布市| 高淳县| 河源市| 慈利县| 厦门市| 曲周县| 霞浦县| 乌兰察布市| 忻州市| 贵南县| 越西县| 齐齐哈尔市| 芜湖市| 灌南县| 密云县| 永平县| 镇江市| 太康县| 长子县| 南昌市| 舞阳县| 江川县| 横山县| 台州市| 临安市| 邯郸市| 东乌珠穆沁旗| 遵义市| 邹平县| 德惠市|