- 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.
推薦閱讀
- C及C++程序設計(第4版)
- DBA攻堅指南:左手Oracle,右手MySQL
- 潮流:UI設計必修課
- 數據結構和算法基礎(Java語言實現)
- Learning ArcGIS Pro
- 實戰Java高并發程序設計(第3版)
- Hands-On Reinforcement Learning with Python
- Java EE 7 Performance Tuning and Optimization
- Clojure Reactive Programming
- OpenStack Orchestration
- Visual Studio 2015高級編程(第6版)
- LabVIEW虛擬儀器程序設計從入門到精通(第二版)
- .NET 4.5 Parallel Extensions Cookbook
- Instant Debian:Build a Web Server
- 大學計算機基礎實訓教程