println("序号:");Р String s2=input1.next();Р System.out.println("作者:");Р String s3=input1.next();Р System.out.println("简介:");Р String s4=input1.next();Р System.out.println("地址:");Р String s5=input1.next();Р for(int i=0;i<mm.length;i++)Р {Р if(mm[i].xuhao==null)Р {Р mm[i].xuhao=s2;Р mm[i].bookname=s1;Р mm[i].bookduoz=s3;Р mm[i].dizhi=s5;Р mm[i].jianjie=s4;Р break;Р }Р }} Р //字节输入流Р }Р else if(h>0)Р {Р boolean m=true;Р System.out.println("返回上一级:");Р System.out.println("1.阅读");Р System.out.println("2.下载:");Р Р System.out.println("请选择:");Р int we=input1.nextInt();Р switch(we){Р case 1: Р File file =null;Р if(b==0){Р file = new File(ss[h-1].dizhi);}Р if(b==1)Р {Р file = new File(mm[h-1Р ].dizhi);} Р //字节输入流Р Reader r=new FileReader(file);Р BufferedReader s=new BufferedReader(r);Р String str=null;