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

合肥生活安徽新聞合肥交通合肥房產(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






 

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

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

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

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

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

          9000px;">

                午夜欧美大尺度福利影院在线看 | 成人美女在线视频| 亚洲人成在线观看一区二区| 一本到三区不卡视频| 国产一区二区在线视频| 亚洲精品中文在线观看| 精品福利在线导航| 久久久久青草大香线综合精品| 国产成人99久久亚洲综合精品| 午夜电影久久久| 精品国精品国产| 91精品欧美久久久久久动漫| 91麻豆精品久久久久蜜臀 | 成人h动漫精品| 激情五月婷婷综合网| 免费的成人av| 国产精品影视网| 国产成人av电影免费在线观看| 欧美激情一区二区三区全黄| 久久影院视频免费| 2021国产精品久久精品| 国产精品久久久久久久久搜平片| 久久免费精品国产久精品久久久久 | 亚洲品质自拍视频| 国产日韩欧美精品综合| 国产欧美视频一区二区| www久久精品| 亚洲国产wwwccc36天堂| 蜜臀精品久久久久久蜜臀| 国产成人免费网站| 欧美日韩成人一区| 大胆欧美人体老妇| 久久国产剧场电影| 国产91综合网| 欧美日韩一级二级三级| 日韩精品一区二区在线| 夜夜爽夜夜爽精品视频| 亚洲18色成人| 日本成人在线看| 国产午夜久久久久| 欧美一区二区三区四区在线观看| 国产亚洲欧洲997久久综合 | 国产精品色哟哟网站| 日韩欧美一级二级| 裸体歌舞表演一区二区| 看片网站欧美日韩| 成人美女视频在线看| 欧美一激情一区二区三区| 不卡av在线网| 91九色02白丝porn| 91精品国产一区二区三区| 精品国产免费视频| 精品噜噜噜噜久久久久久久久试看 | 在线欧美小视频| 欧美久久久久久蜜桃| 99久久久精品| 6080亚洲精品一区二区| 国产精品久久久久精k8 | 色哟哟在线观看一区二区三区| 欧美高清一级片在线| 精品国产成人在线影院| 国产精品三级电影| 蜜桃视频免费观看一区| 色老综合老女人久久久| 国产精品麻豆视频| 国内精品视频一区二区三区八戒| 色婷婷综合激情| 国产精品羞羞答答xxdd| 亚洲电影一级黄| 久久久99精品免费观看不卡| 成人综合激情网| 日韩精品电影在线观看| 欧美国产一区二区| 337p日本欧洲亚洲大胆精品| 欧美色图在线观看| 国产激情一区二区三区| 五月天激情小说综合| 1区2区3区国产精品| 欧美美女直播网站| 色88888久久久久久影院野外| 国产成人99久久亚洲综合精品| 日本女优在线视频一区二区| 亚洲国产精品综合小说图片区| 国产午夜精品一区二区| 在线电影院国产精品| 色网站国产精品| 91色在线porny| 国产一区日韩二区欧美三区| 国产高清不卡二三区| 捆绑调教一区二区三区| 日韩精品电影在线| 精品午夜久久福利影院| 亚洲综合一区二区精品导航| 亚洲欧美另类小说| 亚洲黄色小视频| 亚洲精品va在线观看| 日精品一区二区三区| 日韩精品一级二级 | 日韩美一区二区三区| 欧美一区二区三区色| av亚洲产国偷v产偷v自拍| 蜜桃av一区二区三区电影| 久久久久久久久99精品| 日韩黄色免费电影| 制服丝袜亚洲网站| 天堂蜜桃一区二区三区| 欧美精品少妇一区二区三区 | 欧美日韩在线综合| 视频一区二区中文字幕| 欧美日韩在线免费视频| 日韩国产精品久久| 欧美成人伊人久久综合网| 韩国女主播一区| 亚洲午夜精品在线| 麻豆国产欧美日韩综合精品二区| 夜色激情一区二区| 国产日韩欧美激情| 久久精品国产999大香线蕉| 成人免费观看av| 国产精品伦理在线| 欧美日韩一区二区三区四区| 丁香五精品蜜臀久久久久99网站 | 99re这里都是精品| 日韩中文字幕麻豆| 精品入口麻豆88视频| 欧美日韩一级二级| 国产精品白丝jk白祙喷水网站| 粉嫩欧美一区二区三区高清影视| 久久99精品国产麻豆婷婷| 日韩美女在线视频| 亚洲成av人影院| 欧美亚洲一区二区在线观看| 一区二区国产视频| 99久久久久久| 亚洲最大的成人av| 一本一道久久a久久精品综合蜜臀| 中文幕一区二区三区久久蜜桃| 成人自拍视频在线观看| 久久精品欧美一区二区三区不卡| 国产精品亚洲第一| 欧美不卡123| 国产精品亚洲一区二区三区妖精| 国产午夜精品久久| av在线不卡网| 亚洲图片自拍偷拍| 日韩欧美国产成人一区二区| 国产在线精品一区在线观看麻豆| 国产精品你懂的在线欣赏| 99v久久综合狠狠综合久久| 亚洲三级免费观看| 欧美日韩1区2区| 国产在线一区二区| 亚洲日本在线看| 日韩精品一区二区三区视频播放 | 日韩中文字幕av电影| 日韩美女在线视频| 99久久精品免费观看| 亚洲一级电影视频| 久久久99免费| 在线国产电影不卡| 久久99精品国产.久久久久| 国产精品私房写真福利视频| 欧美精品xxxxbbbb| 白白色 亚洲乱淫| 免费在线观看成人| 亚洲男人的天堂av| 久久嫩草精品久久久精品一| 欧美色老头old∨ideo| 国产成人免费视频网站| 视频在线观看91| 最新中文字幕一区二区三区| 欧美一区二区三区精品| 成人午夜在线播放| 开心九九激情九九欧美日韩精美视频电影| 色综合色综合色综合色综合色综合| 久久免费看少妇高潮| 欧美三级三级三级爽爽爽| 99re这里只有精品视频首页| 菠萝蜜视频在线观看一区| 波波电影院一区二区三区| 成人性色生活片| 欧美精品一卡二卡| 日本一区二区三区在线不卡| 亚洲女同女同女同女同女同69| 亚洲国产日韩av| 国产精品2024| 欧美午夜影院一区| 国产亚洲福利社区一区| 夜夜揉揉日日人人青青一国产精品| 日本va欧美va欧美va精品| 成人午夜电影小说| 91精品国产综合久久香蕉的特点| 国产亚洲精品福利| 日韩在线卡一卡二| 欧美视频中文字幕| 国产精品免费视频观看| 精品一区二区三区在线观看| 欧美精品第1页| 日韩极品在线观看| 欧美日韩免费在线视频|