📄 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 + -