java代码089
文章目录
code089.java
package pack02;
//product��Ʒ�࣬��ʹ��֮ǰ��book�����
public class code089
{
//��̬����
public static final int PAGE_SIZE = 2;
private int id;
private String name;
private double price;
private int bookCount;
private String author;
public int getId()
{
return this.id;
}
public String getName()
{
return this.name;
}
public double getPirce()
{
return this.price;
}
public int getBookCount()
{
return this.bookCount;
}
public String getAuthor()
{
return this.author;
}
public void setId(int id)
{
this.id = id;
}
public void setName(String name)
{
this.name = name;
}
public void setPrice(double price)
{
this.price = price;
}
public void setBookCount(int bookCount)
{
this.bookCount = bookCount;
}
public void setAuthor(String author)
{
this.author = author;
}
}
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册⭐️ Admin快速开发: https://show.cool-admin.com/
赞 0⭐️ 官方文档: https://cool-js.com
赞 0⭐️ chatgpt在线体验: https://cool-js.com/ai/chat-vip/index.html?r=helloworld
赞 0