?? worker.java
字號:
package baseclass;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2005</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
///////////////////////////////////////////////////////
//the person who works in the library
//including charger attendant custodian and purchaser
///////////////////////////////////////////////////////
public class Worker {
String workerID;
String workerPWD;
int workerType;
//////////////////////////////////////
//set the value of Worker
//////////////////////////////////////
public void setWorkerID(String id)
{
workerID=id;
}
public void setWorkerPWD(String pwd)
{
workerPWD=pwd;
}
public void setWorkerType(int type)
{
workerType=type;
}
//////////////////////////////////////
//get the value of Worker
//////////////////////////////////////
public String getWorkerID( )
{
return workerID;
}
public String getWorkerPWD( )
{
return workerPWD;
}
public int getWorkerType( )
{
return workerType;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -