1.做一个图书类Book id,name,price ,get,set访问器,构造方法2个,1个无参,1个有参做一个测试类,在main中创建3个图书对象,放到list集合中.做一个菜单,可以添加,删除,修改,查询 1 package com.gd.entity; 2 3 public class Book { 4 private Integer id; 5 private String name; 6 private double price; 7 8 public Book() { 9 sup…