📄 bus.java
字号:
// $Id: Bus.java,v 1.3 2003/11/23 15:19:37 per_nyfelt Exp $package odmg;/** * @author <a href="http://www.softwarebuero.de/">SMB</a> * @version $Revision: 1.3 $Date: 2003/11/23 15:19:37 $ */public class Bus extends AutoImpl { /** * The serialization version id used by the Java serialization. * See also the Java documentation. */ final static long serialVersionUID = 1L; protected int capacity = 12; public Bus() throws Exception{ super(); } public Bus( String name ) throws Exception{ super( name ); } public String toString() { // System.out.println ("toString()..."); return "Bus: name=" + name + ", age=" + String.valueOf( age ) + ", capacity=" + capacity; } }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -