📄 saxbook.java
字号:
public class SAXBook
{
private String title;
private String author;
private String category;
private float price;
public SAXBook()
{
}
public SAXBook( String title,
String author,
String category,
float price )
{
this.title = title;
this.author = author;
this.category = category;
this.price = price;
}
public String getTitle()
{
return this.title;
}
public void setTitle( String title )
{
this.title = title;
}
public String getAuthor()
{
return this.author;
}
public void setAuthor( String author )
{
this.author = author;
}
public String getCategory()
{
return this.category;
}
public void setCategory( String category )
{
this.category = category;
}
public float getPrice()
{
return this.price;
}
public void setPrice( float price )
{
this.price = price;
}
public String toString()
{
return "Book: " + title + ", " + category + ", " + author + ", " + price;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -