movieitem.java
来自「Thinking in Java 是学习JAVA的经典教材」· Java 代码 · 共 20 行
JAVA
20 行
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
package javatheater.dataobject;
import java.io.Serializable;
/**
* A MovieItem is a data obejct used to transfer information
* between the client tier and the ejb tier.
*/
public class MovieItem implements Serializable {
public Integer pk;
public String title;
public MovieItem(Integer pk, String title) {
this.pk = pk;
this.title = title;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?