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

合肥生活安徽新聞合肥交通合肥房產(chǎn)生活服務(wù)合肥教育合肥招聘合肥旅游文化藝術(shù)合肥美食合肥地圖合肥社保合肥醫(yī)院企業(yè)服務(wù)合肥法律

代寫159.234 OBJECT-ORIENTED程序

時間:2024-06-02  來源:合肥網(wǎng)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






 

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

    合肥圖文信息
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科技CAE仿真
    流體仿真外包多少錢_專業(yè)CFD分析代做_友商科
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路流場仿真外包
    CAE仿真分析代做公司 CFD流體仿真服務(wù) 管路
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真技術(shù)服務(wù)
    流體CFD仿真分析_代做咨詢服務(wù)_Fluent 仿真
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強(qiáng)度疲勞振動
    結(jié)構(gòu)仿真分析服務(wù)_CAE代做咨詢外包_剛強(qiáng)度疲
    流體cfd仿真分析服務(wù) 7類仿真分析代做服務(wù)40個行業(yè)
    流體cfd仿真分析服務(wù) 7類仿真分析代做服務(wù)4
    超全面的拼多多電商運(yùn)營技巧,多多開團(tuán)助手,多多出評軟件徽y1698861
    超全面的拼多多電商運(yùn)營技巧,多多開團(tuán)助手
    CAE有限元仿真分析團(tuán)隊,2026仿真代做咨詢服務(wù)平臺
    CAE有限元仿真分析團(tuán)隊,2026仿真代做咨詢服
    釘釘簽到打卡位置修改神器,2026怎么修改定位在范圍內(nèi)
    釘釘簽到打卡位置修改神器,2026怎么修改定
  • 短信驗證碼 豆包網(wǎng)頁版入口 破天一劍 目錄網(wǎng) 排行網(wǎng)

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網(wǎng) 版權(quán)所有
    ICP備06013414號-3 公安備 42010502001045

    国产人妻人伦精品_欧美一区二区三区图_亚洲欧洲久久_日韩美女av在线免费观看
    久久久久亚洲精品| 久久久这里只有精品视频| 伊人久久av导航| 在线视频不卡一区二区三区| 精品国产av无码一区二区三区| 久久精品aaaaaa毛片| 久久综合久久网| 国产国产精品人在线视| 国产成人亚洲欧美| 色av中文字幕一区| 久久久精品在线观看| 国产精品免费小视频| 两个人的视频www国产精品| 不用播放器成人网| 97精品国产91久久久久久| 91九色在线观看视频| 久久婷婷开心| 日韩日本欧美亚洲| 欧美久久精品午夜青青大伊人| 久久亚洲电影天堂| 九九热精品视频在线播放| 欧美日韩国产成人| 亚洲精品中文字幕乱码三区不卡| 高清欧美精品xxxxx| 久久久久国产精品视频| 国产成人免费av| 欧美激情视频一区二区三区不卡| 日韩中文字幕免费在线| 欧美少妇一区| 波多野结衣成人在线| 国产成人av一区二区三区| 久久综合中文色婷婷| 久久精品这里热有精品| 制服诱惑一区| 欧洲精品久久久| 国产在线不卡精品| 久久久视频免费观看| 久久精品视频一| 亚洲精品免费一区二区三区| 欧美在线一二三区| 国产精品一区二区久久国产| 久久久久久草| 免费av在线一区| 奇米影视亚洲狠狠色| 国产精品一区二区久久精品| 久久久久久久久久久久久国产 | 精品伦理一区二区三区| 亚洲免费在线精品一区| 激情小说综合网| 69精品丰满人妻无码视频a片| 国产精品女人网站| 亚洲精品日韩av| 精品一区二区视频| 久久久久亚洲av无码专区喷水| 中文字幕99| 免费看国产一级片| 久操网在线观看| 亚洲中文字幕久久精品无码喷水| 欧美日韩一区在线观看视频| 国产乱子伦精品视频| 久久久精品中文字幕| 日日摸天天爽天天爽视频| 国产免费内射又粗又爽密桃视频 | 日韩免费观看高清| 97色在线播放视频| 欧美精品在线免费观看| 欧美久久电影| 国产成人精品视| 亚洲直播在线一区| 国产美女精品免费电影| 久久久久久久一| 性亚洲最疯狂xxxx高清| 成人av蜜桃| 久久99亚洲精品| 国产综合久久久久久| 日韩综合中文字幕| 日韩精彩视频| 久久本道综合色狠狠五月| 视频一区亚洲| 91久久久国产精品| 中文字幕一区综合| 国产精品一区二区三区毛片淫片| 国产精品观看在线亚洲人成网| 欧美日本韩国一区二区三区| 久久久久久九九九九| 日本亚洲导航| 久久国产精品-国产精品| 欧美一级片免费观看| 国产精品91视频| 色香蕉在线观看| 久久99久久精品国产| 日韩国产精品一区二区| 好吊色欧美一区二区三区| 国产精品日韩欧美综合| 欧美激情www| 国产精品第157页| 国产欧美一区二区视频| 一区二区三区四区视频在线观看| 国产精品亚洲激情| 久久综合精品一区| 日韩中文不卡| 久久久久久国产三级电影| 热re99久久精品国产66热| 日韩在线播放一区| 欧美 日韩 亚洲 一区| 国产精品久久久久久久久久免费| 免费一级特黄毛片| 色综合久久久888| 97久久久久久| 日本一区二区高清视频| 日韩中文在线视频| 国产熟女高潮视频| 亚洲自拍av在线| 国产a级片网站| 僵尸世界大战2 在线播放| 两个人的视频www国产精品| 国产欧美一区二区三区在线| 亚洲区一区二区三区| 国产成人av一区二区三区| 欧美日韩一级在线| 欧美精品videofree1080p| 7777精品久久久大香线蕉小说| 秋霞在线一区二区| 欧美激情精品久久久| 久久网站免费视频| 国内精品久久久久久影视8| 亚洲日本精品国产第一区| 久久久久久久久久久久久久一区| 国产综合香蕉五月婷在线| 午夜精品久久久久久99热软件| 久久久精品日本| 国产日韩欧美二区| 日本最新一区二区三区视频观看| 国产精品狼人色视频一区| yellow视频在线观看一区二区| 日日摸日日碰夜夜爽无码| 久久的精品视频| 国产精品com| 国产一区高清视频| 日本视频一区在线观看| 欧美巨大黑人极品精男| 久久99久久精品国产| 国产精品一区二区三区久久| 欧美在线一区二区三区四区| 亚洲一区二区中文字幕| 久久精品国产欧美亚洲人人爽| 国产乱淫av片杨贵妃| 欧美日韩喷水| 午夜精品久久久久久久99热 | 精品视频一区在线| 日本欧美精品久久久| 中文字幕一区二区三区有限公司 | 国产精品333| 国产中文字幕日韩| 日本福利视频导航| 亚洲一区二三| 精品国产综合区久久久久久| 深夜福利91大全| 91成人免费观看| 国产免费一区| 欧美一区二区视频在线播放| 亚洲va欧美va在线观看| 另类天堂视频在线观看| 日韩在线中文字| 久久亚洲精品无码va白人极品| 国产麻豆日韩| 国产人妻777人伦精品hd| 欧美 日韩精品| 日本午夜精品一区二区三区| 亚洲综合精品一区二区| 不卡伊人av在线播放| 国产精品久久久久aaaa九色| 久久日韩精品| 91精品天堂| av动漫在线观看| 91久久综合亚洲鲁鲁五月天| 成人国产精品日本在线| 国产欧美一区二区三区在线看| 精品无人区一区二区三区| 激情视频一区二区| 欧美大陆一区二区| 热re99久久精品国产99热| 日韩av大片免费看| 日韩影院一区| 日本一本草久p| 日韩av大片在线| 日本午夜人人精品| 日韩欧美视频第二区| 日本韩国欧美精品大片卡二| 日本天堂免费a| 欧美中文在线免费| 欧美精品一区免费| 欧美一区视久久| 国内精品在线一区| 国产尤物av一区二区三区| 国产日韩精品在线观看| 日韩一区二区精品视频| 国产精品无码av无码| 国产精品久久电影观看| 久久国产精品99国产精|