99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

代寫CMPSC 221 UML and Class Creation

時間:2024-03-05  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯


CMPSC 221

Assignment 1

Individual Assignment (100 points)

Assignment Title: Library Management System with OOP in JAVA.

Instructions: In this assignment, you will demonstrate your understanding of core Object-Oriented   Programming (OOP) concepts, including objects, classes, methods, loops, and various data types, as well as more advanced concepts such as inheritance and polymorphism. Additionally, you will practice creating classes based on UML diagrams and declaring functions.

Part 1: UML and Class Creation (30 points)

Assume that you have to develop a class diagram that represents a library system with books, members, and librarians. The UML diagram will include:

1.    A Book class with attributes such as title, author, ISBN, number of available copies, and other attributes.

2.    Create subclasses of the Book class, such as Fiction, Nonfiction, and magazines with additional attributes and methods relevant to their type

3.    A Library Member class with attributes such as name, library card number, a list of borrowed books, and other attributes.

4.    A librarian class with name, position, email, password, and other attributes

5.    Appropriate method names for classes to perform actions. For Example, the book class must check out and return book methods with parameters. Eg: public void checkOut(Member member){}

Other attributes that you think need to be added. Pleaseadd at least 1/2 attribute of your own.

Develop a UML diagram based on the above requirements.

Part 2: Declaration of Classes, Attributes & Methods (30 points)

Create all the classes mentioned in the UML diagram you answered in Part 1 to simulate a library system. Your program should:

•    Write all classes, attributes, and methods definitions.

•    Write a few methods declaration.

o Allow a user to add books to the library system using Constructor.

o Allow a user to add members to the library system using Constructor.

o Allow a user to checkout books using a method under Book class.

o Allow a user to return books using a method under Book class.

Ensure each function has a printout as the following code. You do not need to have full functionality.


//Constructor

Book(parameter){

System.out.println(“Add book method created and ready for call”);

// code goes here

}


Part 3: Inheritance and Polymorphism (20 points)

Extend the classes from Part 2 to demonstrate inheritance and polymorphism. Create subclasses of the Book class, such as  Fiction,  Nonfiction  Books,  and  magazines  with  additional attributes  and  methods relevant to their type. Implement at least 2 polymorphic behaviors to handle different book types in your library system.

Example of Polymorphic behaviors: Think of your superclass that has a method called checkoutBook() is applicable for 7 days for return for all books. However, Subclasses have their own implementation of the checkoutBook() method with variable length days for return. For Example, magazines can be returned within 14 days.

Part 4: Report (20 points)

The report Should have the following sections:

•    UML Class Design (Part 1): Provide the UML diagram you created.

•    Declaration of Classes, Attributes & Methods (Part 2): Explain different classes and their methods task in your design. Include code snippets to highlight the key parts of your program.

•    Inheritance and Polymorphism (Part 3): Describe how you extended the classes to demonstrate inheritance. Explain how you implemented polymorphism to handle different book types. Include code examples that showcase the inheritance and polymorphism in your program.

Submission Guidelines:

•    Submit your Java code files.

•    Submit a report as a PDF file.

Total Points: 100 points

Note: Make sure to follow the best practices for OOP. Feel free to seek assistance from Dr. Sayed Reza during office hours if needed. Office hours are available in Syllabus.
請加QQ:99515681  郵箱:99515681@qq.com   WX:codehelp 

掃一掃在手機打開當前頁
  • 上一篇:代寫DTS203TC、C++,Java程序語言代做
  • 下一篇:CS 435代做、代寫Matlab編程設計
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          欧美高清视频一区二区| 午夜国产精品视频| 国产一区二区三区久久久久久久久| 欧美一区三区二区在线观看| 亚洲另类自拍| 精品成人久久| 欧美国产在线观看| 欧美一区二区在线看| 日韩视频免费看| 亚洲成人影音| 黄色成人片子| 国产一区在线观看视频| 国产精品欧美久久| 欧美日韩一区视频| 欧美精品久久久久久久| 欧美成人a视频| 久久精品30| 久久av一区二区三区亚洲| 亚洲在线成人精品| 亚洲视频高清| 亚洲系列中文字幕| 亚洲男女自偷自拍| 亚洲女同同性videoxma| 正在播放欧美一区| 一区二区三区四区五区精品视频 | 西瓜成人精品人成网站| 亚洲曰本av电影| 亚洲欧美精品伊人久久| 亚洲一区在线播放| 午夜精品久久久久久久蜜桃app | 国产精品九色蝌蚪自拍| 欧美三区免费完整视频在线观看| 欧美激情国产日韩| 欧美理论电影在线观看| 欧美日韩国产影片| 国产精品每日更新在线播放网址| 国产精品日韩欧美大师| 国产欧美一区二区白浆黑人| 国产亚洲精品资源在线26u| 国产一区二区高清视频| 亚洲承认在线| 一本到高清视频免费精品| 亚洲尤物在线视频观看| 欧美在线观看天堂一区二区三区| 久久精品夜色噜噜亚洲aⅴ| 久久综合图片| 欧美日韩不卡视频| 国产精品一区二区三区四区五区| 黄色成人在线| 日韩系列在线| 欧美自拍偷拍| 欧美成人午夜77777| 欧美体内she精视频在线观看| 国产精品高潮在线| 精品91久久久久| 99精品99| 久久久久久免费| 欧美日韩国产不卡| 国产一区91精品张津瑜| 亚洲精品一区二区三区在线观看| 亚洲一二三区在线| 欧美成人精品1314www| 国产精品欧美一区喷水| 亚洲成人在线网站| 香蕉av777xxx色综合一区| 欧美二区不卡| 国产日韩精品一区二区三区| 亚洲精品久久久久久下一站| 午夜精品亚洲| 欧美午夜精品久久久| 黄色成人在线免费| 亚洲一区二区三区四区视频| 老司机精品福利视频| 国产精品日韩高清| 日韩视频在线你懂得| 久久久久国内| 国产欧美日韩综合一区在线观看| 亚洲级视频在线观看免费1级| 欧美一区在线视频| 欧美日在线观看| 亚洲第一天堂av| 亚洲一区二区三区在线观看视频| 免费在线欧美黄色| 国内外成人在线视频| 亚洲中字黄色| 国产精品乱人伦中文| 日韩一级免费| 欧美国产综合一区二区| 一区二区在线不卡| 久久激情婷婷| 国内外成人免费视频| 亚洲午夜一区二区三区| 欧美日韩第一页| 日韩视频在线免费| 欧美成人免费小视频| 红桃视频一区| 久久视频精品在线| 黄色亚洲免费| 久久综合九色综合欧美就去吻| 国内精品久久久久久影视8| 欧美在线免费视频| 国产精品永久免费视频| 亚洲欧美视频在线观看视频| 国产精品二区在线观看| 亚洲免费在线观看视频| 国产免费成人| 久久久久久亚洲精品杨幂换脸| 国产一区二区三区四区| 久久偷看各类wc女厕嘘嘘偷窃| 一区二区在线看| 欧美福利视频在线| 夜夜嗨av一区二区三区中文字幕| 欧美日韩在线直播| 销魂美女一区二区三区视频在线| 国产一区日韩欧美| 免费看av成人| 亚洲无限av看| 国产亚洲制服色| 欧美精品国产一区| 亚洲综合二区| 亚洲第一精品在线| 欧美视频你懂的| 久久精品国产亚洲一区二区| 亚洲丰满少妇videoshd| 欧美日韩在线观看视频| 欧美在线视频免费| 亚洲精品久久久久久一区二区| 欧美三级在线| 美女诱惑黄网站一区| 一区二区三区免费观看| 精品51国产黑色丝袜高跟鞋| 欧美日韩人人澡狠狠躁视频| 欧美一区二区三区另类| 亚洲日韩成人| 国产一区二区三区精品欧美日韩一区二区三区 | 亚洲精品国产精品国自产在线| 久久www成人_看片免费不卡| 亚洲精品一区二区三区在线观看| 国产精品久久久久久亚洲调教| 久久视频精品在线| 亚洲美女电影在线| 在线观看国产一区二区| 欧美日韩一区二区三区免费看| 久久久久综合网| 亚洲图片自拍偷拍| 亚洲国产一区二区在线| 国产婷婷精品| 国产精品九九| 欧美日韩亚洲在线| 欧美—级a级欧美特级ar全黄| 欧美在线啊v一区| 亚洲在线不卡| 中文欧美字幕免费| 夜久久久久久| 日韩午夜在线| 最新中文字幕亚洲| 在线精品视频一区二区三四| 国产一区二区三区在线观看精品 | 亚洲无线一线二线三线区别av| 亚洲二区视频| 在线观看亚洲专区| 伊人成人网在线看| 国产字幕视频一区二区| 国产伦精品一区二区三区视频孕妇 | 欧美精品一区二区三区一线天视频| 亚洲男女自偷自拍| 日韩视频在线一区二区三区| 亚洲精品欧洲精品| 日韩一级免费观看| 亚洲免费观看高清完整版在线观看| 亚洲大片在线| 亚洲国产精品ⅴa在线观看| 极品中文字幕一区| 亚洲国产免费| 亚洲日韩欧美视频一区| 亚洲美女啪啪| 亚洲午夜久久久久久久久电影网| 亚洲图片在线| 久久激情网站| 久久综合久久久久88| 欧美激情一区二区三区 | 亚洲精品影院在线观看| 亚洲精品乱码久久久久久久久| 日韩一区二区精品| 亚洲午夜激情免费视频| 欧美亚洲自偷自偷| 久久久久一区二区| 欧美日本高清| 国产精品夜夜夜| 在线成人av.com| 一本久久a久久免费精品不卡| 亚洲视频免费在线| 久久久av毛片精品| 欧美国内亚洲| 国产亚洲精品aa| 亚洲激情二区| 午夜国产精品影院在线观看| 久久久久久亚洲精品中文字幕| 欧美精品导航| 国产一区在线播放|