91精品国产91久久久久久_国产精品二区一区二区aⅴ污介绍_一本久久a久久精品vr综合_亚洲视频一区二区三区

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

代寫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編程設計
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 目錄網 排行網

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

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

    91精品国产91久久久久久_国产精品二区一区二区aⅴ污介绍_一本久久a久久精品vr综合_亚洲视频一区二区三区
    亚洲精品在线免费播放| 久久亚洲电影| 国产精品第五页| 久久99国产精品免费| 久久久水蜜桃| 美女精品网站| 色综合久久久久综合体| 久久精品一区二区三区中文字幕| 国产欧美另类| 国产精品视频久久一区| 中文一区在线| 久久久久国产精品午夜一区| 久久深夜福利| 精品视频在线看| 欧美一区二区高清| 26uuu欧美| 国产精品美女久久久久久久 | 视频精品一区二区| 日韩电影一区二区三区四区| 精品在线亚洲视频| 国产成人av网站| 色综合色狠狠综合色| 国产精品v一区二区三区| 一区二区亚洲精品| 亚洲主播在线| 91精品国产欧美一区二区18| 欧美videossexotv100| 国产精品丝袜一区| 亚洲成av人片在线观看| 美女视频黄免费的久久 | 亚洲欧美日韩视频二区| 色婷婷综合激情| 精品乱人伦一区二区三区| 国产精品视频免费| 日本中文在线一区| 9人人澡人人爽人人精品| 亚洲二区免费| 精品视频免费看| 国产婷婷色一区二区三区在线| 亚洲免费色视频| 国模一区二区三区白浆| 欧美日韩国产欧| 欧美国产一区视频在线观看| 中文字幕精品综合| 欧美a一区二区| 91理论电影在线观看| 久久av一区二区三区| 日韩欧美亚洲国产精品字幕久久久 | 久热精品在线| 国产亚洲欧美色| 三级影片在线观看欧美日韩一区二区 | 中文字幕一区二区不卡| 麻豆视频观看网址久久| 极品av少妇一区二区| 欧美老肥妇做.爰bbww| 综合久久国产九一剧情麻豆| 国产在线不卡一区| 99re66热这里只有精品4| 制服丝袜av成人在线看| 亚洲色图在线播放| 国产精品综合视频| 国产精品入口66mio| 久久精品一区八戒影视| 蜜桃91丨九色丨蝌蚪91桃色| 亚洲大黄网站| 2023国产精华国产精品| 日韩 欧美一区二区三区| 欧美久久久久久| 欧美一区二区三区在线观看视频 | 久久er99精品| 久久亚洲午夜电影| 亚洲色图欧洲色图婷婷| www.亚洲精品| 欧美人伦禁忌dvd放荡欲情| 亚洲一区二区在线观看视频| 欧美日韩精品久久| 精品国产成人系列| 国产剧情一区在线| 日本高清无吗v一区| 一区二区高清在线| 好吊视频一区二区三区四区| 久久先锋影音av| 国产成人精品一区二| 久久av免费一区| 亚洲一区二区偷拍精品| 亚洲二区精品| 亚洲日本韩国一区| 欧美久久电影| 国产精品丝袜在线| 亚洲欧美综合| 中文成人综合网| 欧美久久久久| 中文字幕一区二区三区在线播放| 91麻豆精品视频| 久久久噜噜噜久久人人看| 国产aⅴ综合色| 91精品在线一区二区| 国产真实乱偷精品视频免| 欧美色成人综合| 久久精品久久久精品美女| 日本精品裸体写真集在线观看 | 国产伦精品一区二区| 伊人色综合久久天天人手人婷| 亚洲国产精品123| 亚洲精品视频观看| 国产日韩欧美高清免费| 亚洲国产裸拍裸体视频在线观看乱了 | 国产一区二区三区精品视频| 91精品一区二区三区久久久久久| 国产盗摄一区二区| 日韩免费视频一区| 欧美在线一二三区| 国产精品大尺度| 亚洲欧美日韩另类精品一区二区三区| 亚洲国产成人91porn| 色妞www精品视频| 极品瑜伽女神91| 欧美www视频| 亚洲第一黄网| 免费美女久久99| 日韩视频免费观看高清完整版 | 国产亚洲第一区| 日本不卡视频一二三区| 欧美精品久久天天躁| av亚洲精华国产精华精| 欧美韩国日本综合| 香蕉久久夜色精品| 韩国av一区二区三区在线观看| 精品人在线二区三区| 黄色欧美日韩| 日韩国产精品久久| 欧美成人艳星乳罩| 黄色成人在线网站| 婷婷成人综合网| 亚洲精品在线三区| 99精品欧美| 国产一区二区三区免费观看| 久久精品亚洲精品国产欧美| 国产亚洲精品自拍| 国产一区欧美一区| 国产精品美女久久久久久2018| 久久久综合香蕉尹人综合网| 国产精品一区二区你懂的| 亚洲国产精品传媒在线观看| 国产精品久久久亚洲一区| 国产原创一区二区三区| 国产精品午夜免费| 欧美性猛片xxxx免费看久爱| 本田岬高潮一区二区三区| 一区二区三区四区精品在线视频| 欧美日韩精品系列| 亚洲欧洲精品一区二区| 国产在线精品一区二区三区不卡| 国产精品传媒视频| 精品视频一区 二区 三区| 伊人久久成人| 国产69精品久久久久777| 亚洲精品免费视频| 日韩精品一区国产麻豆| 噜噜噜噜噜久久久久久91| 92国产精品观看| 激情都市一区二区| 一区二区三区中文在线| 精品国产凹凸成av人网站| 狂野欧美性猛交xxxx巴西| 97se亚洲国产综合在线| 精品一二三四区| 亚洲国产视频在线| 亚洲国产岛国毛片在线| 777奇米四色成人影色区| 亚洲一区二区三区精品动漫| 午夜精品av| 成人a区在线观看| 热久久国产精品| 亚洲黄色免费网站| 国产精品欧美久久久久无广告| 日韩一区二区影院| 欧美中文字幕一区二区三区亚洲| 日韩一区二区免费看| 欧美一区影院| 丁香网亚洲国际| 久久精品国产一区二区| 亚洲一区二区偷拍精品| 亚洲人成网站在线| 久久久久久97三级| 日韩精品综合一本久道在线视频| 欧洲亚洲国产日韩| 色婷婷久久综合| 久久久亚洲人| 久久久久一区二区| 亚欧美中日韩视频| 一本色道久久综合亚洲二区三区| 午夜精品婷婷| 女同性一区二区三区人了人一 | 在线影院国内精品| 一本色道a无线码一区v| 亚洲一区高清| 久久精品成人| 日本黄色一区二区| 欧美丝袜第三区|