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

Creating a Java class

Use the java-new-class command to add a non-final HelloJBossWorld class to the beosbank-forge-demo project:

[beosbank-forge-demo]$ java-new-class
***INFO*** Required inputs not satisfied, entering interactive mode? Package Name (The package name where this type will be created) [com.beosbank.forge.demo]: HIT ENTER
* Type Name (The type name): HelloJBossWorld
? Extends (The type used in the extends keyword):
? Interfaces []:
? Is Final? [y/N]: N
? Is Abstract? [y/N]: N
? Is Serializable? [y/N]: Y
***SUCCESS*** Class com.beosbank.forge.demo.HelloJBossWorld was created
[HelloJBossWorld.java]$

The new class is empty; you may wonder how to add attributes and methods to this newly created class using the Forge console.

主站蜘蛛池模板: 建水县| 建湖县| 苗栗市| 钟祥市| 富顺县| 出国| 盈江县| 金湖县| 望奎县| 浦城县| 社旗县| 淮安市| 措勤县| 临清市| 马公市| 文山县| 石城县| 哈尔滨市| 都安| 五台县| 榆社县| 县级市| 东至县| 宁晋县| 三门峡市| 江陵县| 凤城市| 越西县| 江阴市| 福海县| 正宁县| 手机| 苍南县| 靖江市| 山丹县| 汝城县| 通江县| 团风县| 巴东县| 维西| 天长市|