- JBoss:Developer's Guide
- Elvadas Nono Woguia
- 107字
- 2021-07-02 18:37:24
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.
推薦閱讀
- Instant Testing with CasperJS
- ExtGWT Rich Internet Application Cookbook
- Visual Basic程序開發(學習筆記)
- Practical Internet of Things Security
- Redis Essentials
- Big Data Analytics
- Oracle JDeveloper 11gR2 Cookbook
- Visual Foxpro 9.0數據庫程序設計教程
- 區塊鏈技術進階與實戰(第2版)
- SciPy Recipes
- 鴻蒙OS應用編程實戰
- Qt5 C++ GUI Programming Cookbook
- Oracle數據庫編程經典300例
- PHP項目開發全程實錄(第4版)
- AutoCAD基礎教程