加勒比久久综合,国产精品伦一区二区,66精品视频在线观看,一区二区电影

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

代寫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號線
  • 短信驗證碼 目錄網 排行網

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

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

    91欧美国产| 乱亲女h秽乱长久久久| 成人片免费看| 亚洲第一网站| 亚洲综合图色| 色噜噜成人av在线| 男女精品网站| 欧美日韩一二三四| 九九99久久精品在免费线bt| 日本中文字幕视频一区| 国产精品99一区二区三区| 久久美女性网| 日韩成人av影视| 欧美日本中文| 久久精品国产在热久久| jizzjizz中国精品麻豆| 亚洲高清资源在线观看| 欧美顶级毛片在线播放| 国产亚洲字幕| 日本不卡的三区四区五区| 亚洲小少妇裸体bbw| 国产精品外国| 国模一区二区三区| 精品国产乱码久久久久久1区2匹| 亚洲人成精品久久久| 狠狠久久综合| 成人精品亚洲| 日本在线成人| 电影一区中文字幕| 久久精品国产成人一区二区三区| segui88久久综合9999| 免费久久99精品国产自在现线| 99国内精品久久久久久久| 欧美aaaaaaaaaaaa| 一区二区三区在线观看免费| 久久精品国产精品亚洲精品| 精品视频黄色| 日韩大片在线观看| 亚洲欧美日韩精品一区二区 | 欧美激情五月| 精品麻豆剧传媒av国产九九九| 丁香六月综合| 精品国产午夜肉伦伦影院| 国产精品igao视频网网址不卡日韩| 久久精品国产在热久久| 日韩中文在线播放| 日韩在线观看电影完整版高清免费悬疑悬疑 | 欧美一级在线| 日日av拍夜夜添久久免费| 久久久久久穴| 中文字幕在线视频网站| 久久久久久久欧美精品 | 精品视频日韩| 成人在线免费观看91| 91久久在线| 精品视频国产| 日韩有码一区| 国产精品一区2区3区| www.久久热| 国精品产品一区| 影音先锋亚洲精品| 天堂中文最新版在线中文| 日本欧美韩国一区三区| 欧洲杯什么时候开赛| 久久影院100000精品| 成人久久一区| 视频福利一区| 国产综合网站| 亚洲精品网址| 亚洲深夜激情| 成人一二三区| 国产成人精品一区二三区在线观看| 偷拍精品精品一区二区三区| 成人免费一区| 日韩国产一区二| 999精品嫩草久久久久久99| 国产一区二区三区电影在线观看| 午夜精品影视国产一区在线麻豆| 日韩电影免费在线看| 一区二区三区自拍视频| 久久精品凹凸全集| 亚洲精品a级片| 水野朝阳av一区二区三区| 日韩综合网站| 成人四虎影院| 成人在线视频区| 日本在线成人| 欧美一区二区三区激情视频| 美女毛片一区二区三区四区| 美女国产精品| 精品日本视频| 成人免费观看49www在线观看| 日韩不卡在线观看日韩不卡视频| 欧美调教在线| 欧美资源在线| 成人在线中文| 中文字幕日韩欧美精品高清在线| 日韩不卡手机在线v区| 久久婷婷久久| 三级欧美在线一区| 日本一区二区中文字幕| 国产欧美日韩一区二区三区四区| 99精品中文字幕在线不卡| 亚洲韩日在线| 精品国产免费人成网站| 欧美伊人影院| 美女国产精品久久久| 婷婷亚洲五月色综合| 欧美gayvideo| 欧美日韩一区二区高清| 日韩中文字幕无砖| 香蕉国产精品| 精品国模一区二区三区| 国产精品欧美一区二区三区不卡| 成人久久一区| 国产白浆在线免费观看| 麻豆精品新av中文字幕| 亚洲亚洲一区二区三区| 久久福利毛片| 日韩国产高清影视| 成人在线视频中文字幕| 久久午夜精品一区二区| 日本中文一区二区三区| 精品理论电影在线| 97在线精品| 欧美精品三级在线| 国产精品88久久久久久| 成人国产网站| 国内精品麻豆美女在线播放视频| 免费av成人在线| 综合一区av| 午夜激情久久| 一区二区三区四区五区在线| 精品久久久久久久久久久下田 | 国产不卡人人| 色综合综合色| 美女精品一区| 黑色丝袜福利片av久久| 黑人操亚洲人| 欧美亚洲三级| 99欧美视频| 国产成+人+综合+亚洲欧美| av日韩精品| 日本在线啊啊| 9l视频自拍蝌蚪9l视频成人| 国产高潮在线| 日韩欧美中文字幕一区二区三区| 首页综合国产亚洲丝袜| 国产精品免费大片| 国产精品婷婷| 亚洲人成精品久久久 | 奇米色欧美一区二区三区| 老**午夜毛片一区二区三区 | 日韩三级一区| 久久国产日本精品| 男人亚洲天堂| 激情综合网五月| 国内一区二区三区| 悠悠资源网久久精品| www 久久久| 蜜乳av一区二区三区| 日韩电影在线一区二区三区| 丁香六月综合| 私拍精品福利视频在线一区| 99精品国产99久久久久久福利| 亚洲先锋成人| **精品中文字幕一区二区三区| 亚洲在线黄色| 日本一区二区三区播放| 日韩视频网站在线观看| 99久久激情| 欧美激情综合| 水蜜桃久久夜色精品一区| 亚洲成av人片在线观看www| 婷婷久久免费视频| 伊人成综合网| 日韩精选在线| 开心久久婷婷综合中文字幕| 欧美理论在线播放| 国产精品免费大片| 91精品xxx在线观看| 天天精品视频| 日韩二区三区四区| 国产极品一区| 伊人影院久久| 婷婷视频一区二区三区| 欧美成人毛片| 巨乳诱惑日韩免费av| 精品国产精品久久一区免费式 | 影院欧美亚洲| 亚洲一区中文| 国产精品午夜av| 亚洲色图二区| 免费毛片b在线观看| 激情婷婷综合| 秋霞一区二区| 欧美黄在线观看| 欧美日韩精品一区二区三区视频| 好吊一区二区三区| 成人av婷婷|