国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看

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

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

    合肥圖文信息
    流體仿真外包多少錢_專業CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務 管路
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真技術服務
    流體CFD仿真分析_代做咨詢服務_Fluent 仿真
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲勞振動
    結構仿真分析服務_CAE代做咨詢外包_剛強度疲
    流體cfd仿真分析服務 7類仿真分析代做服務40個行業
    流體cfd仿真分析服務 7類仿真分析代做服務4
    超全面的拼多多電商運營技巧,多多開團助手,多多出評軟件徽y1698861
    超全面的拼多多電商運營技巧,多多開團助手
    CAE有限元仿真分析團隊,2026仿真代做咨詢服務平臺
    CAE有限元仿真分析團隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 寵物飼養 十大衛浴品牌排行 suno 豆包網頁版入口 wps 目錄網 排行網

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

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

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    99视频精品免费| 国产精品自拍偷拍| 国产精品免费观看高清| 久久久www免费人成黑人精品 | 欧美在线国产精品| 欧美一区二区大胆人体摄影专业网站| 一区二区三区四区五区视频| 久久久精品国产| 久久精品国产成人| 久久久www成人免费精品张筱雨| 久久久久久久中文| 国产精品网站入口| 国产精品精品视频一区二区三区| 久久艹在线视频| 亚洲.欧美.日本.国产综合在线 | 国产综合久久久久| 国产一区二区四区| 福利视频一二区| 91九色精品视频| 久久久久久噜噜噜久久久精品| 久久久精品视频成人| 欧美成人四级hd版| 日韩啊v在线| 国产女女做受ⅹxx高潮| 91看片淫黄大片91| 久久久精品国产网站| 宅男在线精品国产免费观看| 日韩免费一区二区三区| 国产免费观看久久黄| 久久久久久久成人| 欧美精品xxx| 日本高清视频一区二区三区| 国产在线拍揄自揄视频不卡99| 国产一级大片免费看| 国产二级片在线观看| 精品产品国产在线不卡| 热re99久久精品国产66热| 99视频免费观看蜜桃视频| 国产精品色婷婷视频| 日韩中文字幕免费在线| 国产欧美一区二区三区久久| 久久久久久久久91| 日本高清不卡三区| av日韩中文字幕| 中国成人亚色综合网站| 国产美女91呻吟求| 欧美日韩成人在线观看| 免费国产a级片| 国产成人综合久久| 日韩 欧美 自拍| 91精品啪在线观看麻豆免费| 国产精品偷伦视频免费观看国产| 婷婷久久青草热一区二区| 蜜臀精品一区二区| 久久精品国产成人| 亚洲欧美日韩精品综合在线观看| 国产在线欧美日韩| 国产精品免费一区二区三区| 日韩免费在线播放| 日韩一区二区久久久| 日本免费高清一区二区| 久久免费视频这里只有精品| 亚洲精品视频一区二区三区| 日本电影亚洲天堂| 国产成人一区三区| 日本欧美在线视频| 国产成人a亚洲精v品无码| 亚洲色婷婷久久精品av蜜桃| 国产内射老熟女aaaa| 久久国产精品久久精品| 国产日韩一区二区三区| 蜜臀久久99精品久久久无需会员 | 国产日韩精品在线播放| 国产精品视频一二三四区 | 日本精品视频网站| 日韩有码在线电影| 国产在线播放91| 中文字幕成人一区| 91免费黄视频| 人人澡人人澡人人看欧美| 欧美一区二区色| 日韩一区视频在线| 国产乱码精品一区二区三区卡| 欧美激情亚洲综合一区| 久久久免费视频网站| 日韩av观看网址| 久久久久久一区二区三区| 无码人妻丰满熟妇区96| 精品国产网站地址| 国产精品亚洲第一区| 欧美一级视频免费看| 国产精品日韩二区| 成人a在线视频| 欧日韩一区二区三区| 亚洲一区二区久久久久久久| 久久久久久久久久婷婷| 国产日韩欧美自拍| 日本少妇高潮喷水视频| 久久婷婷国产麻豆91天堂| 久久www视频| 成人动漫在线观看视频| 黄瓜视频免费观看在线观看www| 国产精品欧美激情在线播放 | 国产综合色香蕉精品| 日韩中文字幕在线不卡| 久久不射热爱视频精品| 九九九九九九精品| 国产高清不卡无码视频| 91九色单男在线观看| 国产精品专区在线| 国产自产在线视频| 国内精品400部情侣激情| 日韩欧美在线播放视频| 午夜精品久久久久久久无码| 亚洲欧洲一区二区在线观看| 国产精品久久久久久久久影视 | 日韩精品手机在线观看| 亚洲色图自拍| 亚洲欧美国产不卡| 亚洲一区二区久久久久久久| 欧美成人性色生活仑片| 国产精品久久久av| 国产精品久久久久久亚洲调教 | 日本一区二区黄色| 欧美一区二区三区精品电影| 一区二区国产日产| 亚洲欧洲在线一区| 亚洲成色www久久网站| 亚洲 欧美 日韩 国产综合 在线| 亚洲一区二区三区视频播放| 在线视频一二三区| 丁香色欲久久久久久综合网| 日产精品久久久一区二区| 欧美一级片免费在线| 日韩国产欧美亚洲| 美女视频久久| 高清在线观看免费| 久久久亚洲精品无码| 国产精品18毛片一区二区| 久久成人资源| 久久中国妇女中文字幕| 亚洲影院在线看| 青青久久av北条麻妃黑人| 欧美综合在线播放| 国产一区二区三区在线免费| 不卡一区二区三区视频| 国产一级大片免费看| 91av福利视频| 精品国产综合| 日韩免费观看视频| 成人免费淫片aa视频免费| 久久国产精品亚洲va麻豆| 久久在精品线影院精品国产| 国产日韩欧美大片| 日韩亚洲欧美成人| 亚洲一区二区在线播放| 霍思燕三级露全乳照| 久久青草福利网站| 亚洲人成网站在线观看播放| 国模极品一区二区三区| 久久久久一本一区二区青青蜜月| 欧美精品一区二区免费| 日韩激情视频一区二区| 成人动漫在线视频| 久久国产精品网站| 精品婷婷色一区二区三区蜜桃| 国产激情视频一区| 亚洲精品国产精品国自产| 激情五月亚洲色图| 久久久久久久久久久久久久久久av | av动漫在线看| 久久成人精品电影| 国产中文字幕乱人伦在线观看| 视频直播国产精品| 奇米影视亚洲狠狠色| 91久热免费在线视频| 欧美日本啪啪无遮挡网站| 男女视频网站在线观看| 国产成人久久婷婷精品流白浆| 日韩a∨精品日韩在线观看| 国产中文字幕亚洲| 伊人网在线免费| 国产精品久久久久久久app| 久久久精品电影| 国产综合av在线| 日本一区美女| 精品乱码一区二区三区| 国产伦精品一区二区三区精品视频 | 久久av一区二区三区亚洲| 日韩美女在线观看一区| 久久久国产精品视频| 国产精品一区二区3区| 蜜月aⅴ免费一区二区三区| 久久一区二区三区av| 狠狠干 狠狠操| 一级做a爰片久久| 久久久久久久久久久免费精品 | 无码人妻精品一区二区蜜桃百度| 国产精品久久久久不卡| 国产成人亚洲综合91精品|