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

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.

主站蜘蛛池模板: 娄底市| 沧源| 旌德县| 宁化县| 双柏县| 墨玉县| 安陆市| 竹北市| 华容县| 化德县| 日土县| 安远县| 墨脱县| 扎囊县| 沁水县| 黎城县| 苍梧县| 通城县| 武山县| 新平| 滁州市| 揭阳市| 鄂伦春自治旗| 禹州市| 雷州市| 河北省| 海淀区| 望谟县| 东至县| 左权县| 枝江市| 青铜峡市| 青龙| 上高县| 吉安县| 长阳| 泉州市| 昌邑市| 菏泽市| 黄龙县| 沈丘县|