⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 book.java

📁 本光盘包含了本书各章中出现的所有程序的源代码。 1. 如果是Java程序
💻 JAVA
字号:
/* * Book.java *  * Created on 2007-5-17, 11:36:06 *  * To change this template, choose Tools | Template Manager * and open the template in the editor. */package com.domain;public class Book {	//Use Case Database is bookman; Table is books is Created by MySQL    private int id;    private String name;    private String author;    private double price;    private String remark;    public Book() {    }        public Book(String name,String author,double price){    	this.name = name;    	this.author = author;    	this.price = price;    }        public void setId(int id) {        this.id = id;    }    public int getId() {        return id;    }        public void setName(String name) {        this.name = name;    }    public String getName() {        return name;    }        public void setAuthor(String author) {        this.author = author;    }    public String getAuthor() {        return author;    }        public void setPrice(double price) {        this.price = price;    }    public double getPrice() {        return price;    }        public void setRemark(String remark) {        this.remark = remark;    }    public String getRemark() {        return remark;    }        public String toString(){    	return name;    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -