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

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

代寫159.234 OBJECT-ORIENTED程序

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



159.234 OBJECT-ORIENTED PROGRAMMING S1, 2024 
Assignment 3 
Deadline: 4 June 2024, 11pm 
Evaluation: 40 marks (20% of your final grade) 
Late Submission: Deduct 4 marks per day late 
Individual Work You must complete this assignment by yourself (you must NOT share your code 
with others or use others’ code) 
Purpose: Reinforce Java OOP core concepts (abstraction, encapsulation, inheritance, and 
polymorphism), collections framework and generics, exception handling, input and 
output streams, and GUI using Swing 
 
1. System Description (Overview of Problem) 
 
You are asked to write a program in Java to simulate a computer store’s management system 
A computer store maintains three categories of computers: Desktop PCs, Laptops, and Tablets. Each 
category is further divided into different types, as listed below: 
 
Desktop PC types: Gaming, Home & Study, Business, and Compact 
Laptop types: Gaming, Home & Study, Business, and Thin & Light 
Tablet types: Android, Apple, and Windows 
 
Each computer’s unique ID, brand, CPU family, and price need to be specified regardless of its category. 
The computer store must also record memory size (GB) and SSD capacity (GB) for Desktop PCs and 
Laptops as well as screen size (inches) for Laptops and Tablets. 
 
The computer store has two types of staff: salespersons and managers. A salesperson can log into the 
computer store’s management system to view a list of all computers. A salesperson can also search for 
computers by category and type before clicking on a search result to view that computer’s details. 
 
A manager can log into the computer store’s management system to do everything that a salesperson can 
do, but a manager can also maintain records—by updating computer details or adding and deleting 
computers. 
 
2. Tasks to complete: 
a) Create a narrative step-by-step storyboard using screenshots of your system-generated GUIs to 
demonstrate required functions of the computer store’s management system (please refer to a 
sample at the end of this document; you can use its format to present your work) 
 
Your Java code should: 
b) Import the provided test data (computers.txt) to your system using Java Input 
c) Add five staff to the computer store’s system—three salespersons and two managers—using usernames 
and passwords provided (this function should have classes designed with an appropriate inheritance 
hierarchy that applies core OOP concepts) 
d) Realize all functions specified in the system description above (for this assignment, you are NOT 
required to update computers.txt file after a manager update/add/delete records, you only need to 
update the GUI to show the change) 
3. Design and Implementation Guidelines 
Note: You will receive credit for correctness, completeness, no code duplication, and clear on-screen outputs. 
Also, we will grade your program using the following OOP and general software implementation 
guidelines: 
 
 1) Encapsulation design and implementation—proper use of modifiers 
a. Private/Protected/Public 
b. Must make use of getters and/or setters wherever appropriate  

 
159.234 OBJECT-ORIENTED PROGRAMMING S1, 2024 
 
 2) Inheritance design and implementation 
a. Reasonable class hierarchies 
b. Proper data fields separation in base and derived classes 
c. Proper methods separation/overloading/overriding in base and derived classes 
d. Proper use of base and derived class constructors 
 
3) Polymorphism and implementation 
a. Write generic code that targets the base class whenever possible 
b. Appropriate use of overriding in derived classes to realize polymorphism 
 
4) Information store and implementation 
a. Use HashMap and other Java collection class(es) to store information 
 
 5) Exception handling 
a. Throw an exception object when an application error occurs (e.g., when an invalid piece of data is 
entered) 
b. Use “try/catch/finally” or “try/catch” block to handle the exception 
 
6) Use Java Swing to implement your GUI 
 
4. Other Specifications 
You must follow the next three specifications when completing this assignment: 
 
1) Place appropriate comments in your program—e.g.: 
/** explain what the program file is doing . . . */ 
// explain what a part/method of the program is doing… 
2) DO NOT add any file path for ‘computers.txt’ (put it directly in your project folder when you test your 
code) 
3) DO NOT add your own package name(s) to the beginning of your .java files (this requirement is only 
for marking purpose) 
 
5. Submission Requirements: 
1) Your storyboard as a PDF file 
2) All your .java files (source codes) 
3) Any image file(s) you may have used in your program (put the image file(s) directly in your project 
folder when you test your code - this requirement is only for marking purposes). 
4) Zip all your files from 1), 2), and 3) together and submit as a single file to Stream 
 
6. You MUST use the following test data in your assignment: 
 
1) Staff details 
Usernames Passwords 
Staff 1 – Salesperson p1 p1 
Staff 2 – Salesperson p2 p2 
Staff 3 – Salesperson p3 p3 
Staff 4 – Manager m1 m1 
Staff 5 – Manager m2 m2 
 
159.234 OBJECT-ORIENTED PROGRAMMING S1, 2024 
 
2) Input file computers.txt to download 
 
 3) Example GUI and functions narrations: 
 
Note: this is just a sample GUI design; you are free to design your own GUI and function flow as long 
as they are reasonable and complete the tasks listed in item “2.” above 
 
When the program runs:  
 
Record of Desktop 
PC: 
Category, 
Type, 
ID, 
Brand, 
CPU Family, 
Memory Size (GB), 
SSD Capacity (GB), 
Price ($) 
Record of Laptop: 
Category, 
Type, 
ID, 
Brand, 
CPU Family, 
Memory Size (GB), 
SSD Capacity (GB), 
Screen Size (Inches), 
Price ($) 
Record of Tablet: 
Category, 
Type, 
ID, 
Brand, 
CPU Family, 
Screen Size (Inches), 
Price ($) 
Click “login” icon button 
Log in as a salesperson  

 
159.234 OBJECT-ORIENTED PROGRAMMING S1, 2024 
 
Can select and display 
computers from any 
Category (No specific 
order required) 
 
 List of all computers 
(No specific order required) 
  

 
159.234 OBJECT-ORIENTED PROGRAMMING S1, 2024 
 
Can select and display 
computers from any 
Category and its sub type 
Can click any selected 
computer to check its 
details 
Note that all editing 
functions are disabled 
for a salesperson 
Click to log out prelogin
screen is 
displayed  

 
159.234 OBJECT-ORIENTED PROGRAMMING S1, 2024 
  
This time, log in as a 
manager (note that both 
“Browse” and 
“Check/Update” tabs 
are enabled this time) 
A manager can use all 
the search functions 
that a salesperson can  

 
159.234 OBJECT-ORIENTED PROGRAMMING S1, 2024 
 
A manager can click 
“Add” to add a new 
computer (‘Model ID’ 
is unique, so a new 
computer can’t use an 
existing ‘Model ID’) 
 
Pop-up window to 
confirm success of 
adding  

 
159.234 OBJECT-ORIENTED PROGRAMMING S1, 2024 
 
New computer’s 
details reflected 
in list 
A manager can click 
‘Update’ to update a 
computer’s details; 
any data can be 
modified except 
‘Model ID’ 
Pop-up window to 
confirm success of 
update  

 
159.234 OBJECT-ORIENTED PROGRAMMING S1, 2024 
 
Update reflected in 
this list 
A manager can click 
‘Delete’ to delete a 
computer from the 
system 
Clicking ‘Clear’ will clear 
all text fields’ values on 
this tab too (but does not 
actually change or delete a 
computer’s data )  
10 
 
159.234 OBJECT-ORIENTED PROGRAMMING S1, 2024 
 
List also reflects 
deletions 
Click “Log out” to 
go back to pre-login 
screen 
請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp






 

掃一掃在手機打開當前頁
  • 上一篇:越南紙質簽證入境流程(越南紙質簽證入境有幾種方式)
  • 下一篇:代寫COMP 3023、C++程序設計代做
  • 無相關信息
    合肥生活資訊

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

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

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

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

          9000px;">

                欧美激情一区二区三区全黄| 亚洲无人区一区| 日韩女同互慰一区二区| 日韩欧美国产一区二区在线播放 | 国产成人福利片| 99久久免费国产| 欧美精品在线视频| 亚洲欧洲成人av每日更新| 婷婷久久综合九色综合伊人色| 久久超碰97人人做人人爱| 91一区二区在线观看| 日韩欧美一区二区视频| 日韩一区有码在线| 国内一区二区视频| 欧美视频在线播放| 国产日韩精品一区二区三区在线| 亚洲精品日日夜夜| 国产成人8x视频一区二区| 欧美日韩亚洲综合| 国产人久久人人人人爽| 日本va欧美va精品| 日本韩国欧美国产| 欧美激情一区在线观看| 日本欧美一区二区三区| 不卡电影一区二区三区| 日韩欧美123| 视频一区在线播放| 91浏览器在线视频| 中文字幕一区二区三区不卡在线 | 欧美日韩三级视频| 亚洲人成精品久久久久| 成人综合婷婷国产精品久久免费| 91精品国产一区二区三区蜜臀| 亚洲蜜臀av乱码久久精品蜜桃| 成人在线综合网| 久久久一区二区三区捆绑**| 91黄色免费看| 一区二区成人在线视频| 99久久精品国产导航| 亚洲国产精品v| 99视频热这里只有精品免费| 久久久久久久久免费| 九九热在线视频观看这里只有精品| 欧美一级高清大全免费观看| 视频一区二区欧美| 337p亚洲精品色噜噜噜| 日韩国产成人精品| 91精品国产入口| 美女网站色91| 久久免费精品国产久精品久久久久| 美女诱惑一区二区| 日韩一区二区免费高清| 欧美aaaaa成人免费观看视频| 欧美一区二区黄色| 久久99精品久久久久| 久久精品视频在线免费观看| 国产成人亚洲综合a∨婷婷| 国产亚洲综合色| 91在线免费播放| 亚洲综合色网站| 欧美老女人在线| 毛片av一区二区三区| 国产亚洲精品久| 成人国产亚洲欧美成人综合网| 亚洲人被黑人高潮完整版| 欧洲亚洲国产日韩| 日本不卡不码高清免费观看| 欧美日韩大陆在线| 老司机精品视频导航| 久久网这里都是精品| 欧美日韩国产片| 国产激情视频一区二区三区欧美| 国产色综合久久| 色婷婷狠狠综合| 国产在线精品一区二区不卡了| 欧美极品少妇xxxxⅹ高跟鞋 | 欧美日韩黄色影视| 一本到高清视频免费精品| 亚洲成av人片在线| 久久久亚洲精品石原莉奈 | 亚洲国产成人av网| 日韩三区在线观看| 不卡视频一二三| 久久综合综合久久综合| 国产精品久久看| 91精品国产综合久久久久久久| 成人午夜精品在线| 亚洲成a人片在线不卡一二三区| 91豆麻精品91久久久久久| 99久久精品免费精品国产| 成人一区二区视频| 色妞www精品视频| 91精品国产综合久久香蕉的特点| 亚洲美女在线一区| 日本不卡视频一二三区| 免费欧美高清视频| 国产不卡高清在线观看视频| 日本欧美在线看| 成人美女视频在线观看| 欧美一级高清片| 亚洲午夜久久久| 91色.com| 亚洲综合丁香婷婷六月香| 蜜桃精品视频在线| 欧美va亚洲va| 国产女人18水真多18精品一级做| 精品国产91九色蝌蚪| 欧美午夜精品一区二区三区| 欧美大胆人体bbbb| 日韩福利电影在线观看| 一区二区三区蜜桃| 成人高清视频在线观看| 欧美在线不卡视频| 国产99久久久国产精品| 六月丁香婷婷久久| 一区二区三国产精华液| 国产亚洲欧美中文| 久久亚洲私人国产精品va媚药| 色诱视频网站一区| 成人精品免费看| 国产成人三级在线观看| 捆绑调教一区二区三区| 日本sm残虐另类| 日本不卡视频在线观看| 丝袜美腿亚洲综合| 亚洲网友自拍偷拍| 五月天亚洲精品| 午夜欧美大尺度福利影院在线看| 夜色激情一区二区| 亚洲va国产天堂va久久en| 天堂一区二区在线免费观看| 天天做天天摸天天爽国产一区 | 精品国产第一区二区三区观看体验| 欧美人牲a欧美精品| 欧美亚洲动漫制服丝袜| 欧美在线观看18| 6080国产精品一区二区| 欧美日韩一区二区三区不卡| 欧美日韩www| 日韩一区二区三区观看| 精品久久久影院| 国产欧美1区2区3区| **性色生活片久久毛片| 亚洲最新在线观看| 琪琪久久久久日韩精品| 激情成人综合网| 成人高清视频在线观看| 欧美三级视频在线播放| 日韩美女视频在线| 国产精品久久一卡二卡| 亚洲一区二区三区精品在线| 日产精品久久久久久久性色| 国产一区福利在线| 色综合久久88色综合天天免费| 欧美性受极品xxxx喷水| 久久综合给合久久狠狠狠97色69| 欧美极品aⅴ影院| 成人免费在线视频| 午夜视频在线观看一区二区| 麻豆国产精品视频| 高清不卡在线观看| 欧美日韩一区二区欧美激情| 久久久久久影视| 亚洲精品国产a| 天堂精品中文字幕在线| 蜜桃av噜噜一区二区三区小说| 337p亚洲精品色噜噜| 欧美一级免费观看| 色综合久久久久| 日韩理论片在线| 亚洲午夜久久久久久久久电影网| 丝袜诱惑亚洲看片 | 91麻豆精品秘密| 日本91福利区| bt7086福利一区国产| 欧美一区二区三区四区高清| 97se亚洲国产综合在线| 欧美精品第一页| 国产清纯白嫩初高生在线观看91| 日韩一区二区精品葵司在线| 欧美日韩一区二区三区视频| 色婷婷精品久久二区二区蜜臂av| 成人爽a毛片一区二区免费| 亚洲日本乱码在线观看| 国模无码大尺度一区二区三区| 午夜欧美电影在线观看| 亚洲欧美日韩中文字幕一区二区三区 | 欧美三级欧美一级| 亚洲午夜精品17c| 国产精品少妇自拍| 欧美一激情一区二区三区| 久久夜色精品国产欧美乱极品| 色综合激情五月| 韩国三级在线一区| 色综合咪咪久久| 国模娜娜一区二区三区| 亚洲成人在线网站| 欧美电影影音先锋| 色狠狠av一区二区三区| 日本成人在线看|