A bank clien/server example implemented by RMI, to perform functions of creatAccount and accessAccou
源代码在线查看: details.java
import java.io.Serializable;
/**
*
*/
/**
* @author Kee
*
*/
public class Details implements Serializable {
private String name = null;
private int pin = 0;
public Details(){
}
public Details(int pin, String name){
this.pin = pin;
this.name = name;
}
public void setPin(int pin){
this.pin = pin;
}
public int getPin(){
return pin;
}
public void setName(String name){
this.name = name;
}
public String getName(){
return name;
}
}