ITPub博客

首页 > IT职业 > IT生活 > Library System Design

Library System Design

IT生活 作者:uzhy 时间:2021-09-09 09:10:27 0 删除 编辑
com.imoocBooks {
    String (numString name){
        .= num.= name}

}


com.imoocjava.util.ScannerLibrarySystem {
    Books[] = Books[](String[] args) Exception {
        LibrarySystem system = LibrarySystem()system.start()}

    () Exception {


        fillbooksArray()UserInput01()}



    (Books[] books) {
        books[] = Books()books[] = Books()books[] = Books()books[] = Books()books[] = Books()books[] = Books()books[] = Books()books[] = Books()books[] = Books()books[] = Books()}

    () Exception {
        {
            System..println()Scanner scan = Scanner(System.)Input = scan.nextInt()(Input==){
                InputName()}(Input==){
                InputIndex()}{
                System..println()UserInput01()}
        } (Exception e) {
            System..println()UserInput01()}
    }

    () Exception {
        {
            System..println()Scanner scan = Scanner(System.)String Input01 = scan.next()isMatch = (i = i 



运行效果

图片描述

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/2551/viewspace-2799860/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-08-16

  • 博文量
    86
  • 访问量
    537