zoukankan      html  css  js  c++  java
  • 【每日日报】第二十二天

    1 今天写了上机练习

      4.9图书管理系统

     1 package Libiary;
     2 
     3 public class Book {
     4     String name,writer,out,btime,etime,ftime;
     5     int money;
     6     void setname(String n){name=n;}
     7     void setwritter(String w){writer=w;}
     8     void setout(String o){out=o;}
     9     String getname(){return name;}
    10     String getout(){return out;}
    11     Book(String n,String o,String w){name=n;out=o;writer=w;}
    12     public static void main(String args[]){
    13         Book b1=new Book("One","GuangMing","XiaoMing");
    14         Book b2=new Book("Tow","GuangMing","XiaoMing");
    15         System.out.print(b1.getname()+' ');
    16         System.out.println(b1.getout());
    17         System.out.print(b2.getname()+' ');
    18         System.out.println(b2.getout());
    19         
    20     }
    21 }

    2 没遇到什么问题

    3 明天继续看手册

  • 相关阅读:
    linux串口
    在demo板上用串口和AT指令调试GPRS模块
    发送短信
    html
    JavaScript
    frp
    sunke推荐
    ubus
    2021-8
    缓存一致性协议
  • 原文地址:https://www.cnblogs.com/linmob/p/13418033.html
Copyright © 2011-2022 走看看