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

📄 book1.java

📁 JAVA图书管理系统有很多代码这只是很小的一部分
💻 JAVA
字号:
/*
 * Booklist.java
 *
 * Created on 2008年6月13日, 上午10:35
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package library;

/**
 *
 * @author Administrator
 */
public class Book1 {
     private String code;
    private String name;
    private String type;
    private String press;
    private String writer;
   
   
    /** Creates a new instance of Book */
    public  Book1(String code,String name,String type,String press,String writer) {
    this.code=code;
   
    this.name=name;
    this.press=press;
    
    this.writer=writer;
    this.type=type;
    }
    public String getName(){
       return name;
   }
   public String getCode(){
       return code;
   }
    public String getPress(){
     return press;
 }

 public String getWriter(){
   return writer;
 }
 public String getType(){
     return type;
 }

 public void setName(String name){
     this.name=name;
 }
  public void setCode(String code){
      this.code=code;
  }
  public void setType(String type){
    this.type=type;  
  }
   public void setPress(String press ){
       this.press=press;
   }
    public void setWriter(String writer){
        this.writer=writer;
    }
   
     } 

⌨️ 快捷键说明

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