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

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.

主站蜘蛛池模板: 惠东县| 巫溪县| 岫岩| 宁都县| 雷山县| 龙泉市| 建湖县| 晴隆县| 连江县| 阳原县| 惠水县| 蛟河市| 疏附县| 兰溪市| 循化| 平遥县| 什邡市| 丹寨县| 谢通门县| 碌曲县| 商城县| 麦盖提县| 偃师市| 绍兴市| 祁门县| 偏关县| 原阳县| 永兴县| 老河口市| 太和县| 邹城市| 南城县| 余干县| 宜黄县| 柳河县| 萨嘎县| 昆明市| 江门市| 临安市| 宜兴市| 沧州市|