item.java

来自「以前自己学习EJB编程时」· Java 代码 · 共 27 行

JAVA
27
字号
package helloejb;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2006</p> * <p>Company: </p> * @author not attributable * @version 1.0 */public class Item implements java.io.Serializable{//  public Item() { // }   private String _title;   private float  _price;   public Item(String title,float price){      _title=title;      _price=price;   }   public String getTitle(){     return _title;   }   public float getPrice(){      return  _price;     }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?