?? book.java~1~
字號:
package baseclass;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2005</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
/////////////////////////////////////////
//book of dividual that has unique index
/////////////////////////////////////////
public class Book {
String bookIndex;
String ISBN;
int bookState;
//////////////////////////////////////
//set the value of Book
//////////////////////////////////////
public void setBookIndex(String index)
{
bookIndex=index;
}
public void setISBN(String isbn)
{
ISBN=isbn;
}
public void setBookState(int state)
{
bookState=state;
}
//////////////////////////////////////
//get the value of Book
//////////////////////////////////////
public String getBookIndex( )
{
return bookIndex;
}
public String getISBN( )
{
return ISBN;
}
public int getBookState( )
{
return bookState;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -