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

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.

主站蜘蛛池模板: 登封市| 江达县| 永嘉县| 清流县| 黄陵县| 栾城县| 许昌市| 博客| 铁力市| 赤城县| 永丰县| 辛集市| 宜黄县| 汝州市| 于田县| 将乐县| 淮南市| 西安市| 普兰县| 岫岩| 江北区| 都安| 普格县| 井研县| 奉节县| 固镇县| 双城市| 井陉县| 湘潭县| 双峰县| 岱山县| 荃湾区| 彭州市| 南丰县| 玉门市| 富平县| 三明市| 永寿县| 铜鼓县| 康定县| 含山县|