SlideShare ist ein Scribd-Unternehmen logo
1 von 2
This assignment is to develop your first object-oriented
program. You will utilize classes, common data types, and
control structures. Following are the instructions.
Step 1: Define a Computer class that can be used to describe
your computer. The class must have at least two attributes. One
variable must be an integer data type and the other must be a
String data type. At least one method should be defined in your
class. Step 1a: Prepare a class diagram to illustrate your
Computer class. Copy to a Word document. Step 1b: Prepare
the source code that implements your Computer class. Give your
source code a filename of Computer.java.
Step 2: Prepare a program that utilizes your Computer class.
The requirements for the program include prompting the user
for input, making a calculation, and printing out the results.
Begin by creating your pseudocode for this program. Once you
have your pseudocode, copy it into your Word document. You
can now begin writing your program.
Your program should prompt the user for information about
their existing computer followed by information about a future,
more desirable computer. This means that your program will
create two instances of Computer class, the first instance
reflects the existing Computer, and the second instance reflects
the future Computer.
Use the Scanner class for obtaining input from the user
keyboard. The program must calculate the difference
(improvement) between the existing and future Computer class
variables of integer data type. For example, Computer class may
contain an integer variable named memory. The value of the
memory variable for the existing Computer instance may be 8,
while the value for this variable in the future Computer instance
may be 10. Calculating the difference would indicate an
improvement of 2.
Print to the screen the values for the existing computer class
and the desired computer class, along with the calculated
improvement.
Your assignment submittal should include your properly
commented Java source code for your Computer class as well as
for your program.
The first step should be to plan your program. Prepare a Word
document that shows your program plan description including
class diagram and your pseudocode defining program logic.
The second step should be to write the code based upon your
planning document.
Submit the Word design document, source code for Computer
class and for your program. Include both .class files.

Weitere ähnliche Inhalte

Ähnlich wie This assignment is to develop your first object-oriented program. Yo.docx

CIS 406 Entire Course NEW
CIS 406 Entire Course NEWCIS 406 Entire Course NEW
CIS 406 Entire Course NEWshyamuopfive
 
66781291 java-lab-manual
66781291 java-lab-manual66781291 java-lab-manual
66781291 java-lab-manualLaura Popovici
 
Book management system
Book management systemBook management system
Book management systemSHARDA SHARAN
 
Computer Software Ultimate History and Benefits
Computer Software Ultimate History and BenefitsComputer Software Ultimate History and Benefits
Computer Software Ultimate History and BenefitsTyler Aaron
 
An introduction to programming
An introduction to programmingAn introduction to programming
An introduction to programmingrprajat007
 
Programming Without Coding Technology (PWCT) Features - Programming Paradigm
Programming Without Coding Technology (PWCT) Features - Programming ParadigmProgramming Without Coding Technology (PWCT) Features - Programming Paradigm
Programming Without Coding Technology (PWCT) Features - Programming ParadigmMahmoud Samir Fayed
 
Pos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.com
Pos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.comPos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.com
Pos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.comULLPTT
 
Lecture 1 uml with java implementation
Lecture 1 uml with java implementationLecture 1 uml with java implementation
Lecture 1 uml with java implementationthe_wumberlog
 
Cis 406 Technology levels--snaptutorial.com
Cis 406 Technology levels--snaptutorial.comCis 406 Technology levels--snaptutorial.com
Cis 406 Technology levels--snaptutorial.comsholingarjosh58
 
Cis 406 Success Begins / snaptutorial.com
Cis 406 Success Begins / snaptutorial.comCis 406 Success Begins / snaptutorial.com
Cis 406 Success Begins / snaptutorial.comRobinson071
 
Cis 406 Enthusiastic Study - snaptutorial.com
Cis 406 Enthusiastic Study - snaptutorial.comCis 406 Enthusiastic Study - snaptutorial.com
Cis 406 Enthusiastic Study - snaptutorial.comStephenson01
 
Cis 406 Extraordinary Success/newtonhelp.com
Cis 406 Extraordinary Success/newtonhelp.com  Cis 406 Extraordinary Success/newtonhelp.com
Cis 406 Extraordinary Success/newtonhelp.com amaranthbeg148
 
SE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSSE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSnikshaikh786
 

Ähnlich wie This assignment is to develop your first object-oriented program. Yo.docx (20)

ArduinoWorkshop2.pdf
ArduinoWorkshop2.pdfArduinoWorkshop2.pdf
ArduinoWorkshop2.pdf
 
CIS 406 Entire Course NEW
CIS 406 Entire Course NEWCIS 406 Entire Course NEW
CIS 406 Entire Course NEW
 
66781291 java-lab-manual
66781291 java-lab-manual66781291 java-lab-manual
66781291 java-lab-manual
 
Oopp Lab Work
Oopp Lab WorkOopp Lab Work
Oopp Lab Work
 
Book management system
Book management systemBook management system
Book management system
 
Computer Software Ultimate History and Benefits
Computer Software Ultimate History and BenefitsComputer Software Ultimate History and Benefits
Computer Software Ultimate History and Benefits
 
An introduction to programming
An introduction to programmingAn introduction to programming
An introduction to programming
 
Chap01
Chap01Chap01
Chap01
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
Programming Without Coding Technology (PWCT) Features - Programming Paradigm
Programming Without Coding Technology (PWCT) Features - Programming ParadigmProgramming Without Coding Technology (PWCT) Features - Programming Paradigm
Programming Without Coding Technology (PWCT) Features - Programming Paradigm
 
Pos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.com
Pos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.comPos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.com
Pos 409 pos409 pos 409 forecasting and strategic planning -uopstudy.com
 
Lecture 1 uml with java implementation
Lecture 1 uml with java implementationLecture 1 uml with java implementation
Lecture 1 uml with java implementation
 
Cis 406 Technology levels--snaptutorial.com
Cis 406 Technology levels--snaptutorial.comCis 406 Technology levels--snaptutorial.com
Cis 406 Technology levels--snaptutorial.com
 
Cis 406 Success Begins / snaptutorial.com
Cis 406 Success Begins / snaptutorial.comCis 406 Success Begins / snaptutorial.com
Cis 406 Success Begins / snaptutorial.com
 
Cis 406 Enthusiastic Study - snaptutorial.com
Cis 406 Enthusiastic Study - snaptutorial.comCis 406 Enthusiastic Study - snaptutorial.com
Cis 406 Enthusiastic Study - snaptutorial.com
 
linkinCVMartin Craughwell
linkinCVMartin CraughwelllinkinCVMartin Craughwell
linkinCVMartin Craughwell
 
PROBLEM SOLVING
PROBLEM SOLVINGPROBLEM SOLVING
PROBLEM SOLVING
 
Cis 406 Extraordinary Success/newtonhelp.com
Cis 406 Extraordinary Success/newtonhelp.com  Cis 406 Extraordinary Success/newtonhelp.com
Cis 406 Extraordinary Success/newtonhelp.com
 
SE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSSE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUS
 
01CHAP_1.PPT
01CHAP_1.PPT01CHAP_1.PPT
01CHAP_1.PPT
 

Mehr von EvonCanales257

This is a Team Assignment. I have attached what another student on t.docx
This is a Team Assignment. I have attached what another student on t.docxThis is a Team Assignment. I have attached what another student on t.docx
This is a Team Assignment. I have attached what another student on t.docxEvonCanales257
 
this is about databases questions , maybe i miss copy some option D,.docx
this is about databases questions , maybe i miss copy some option D,.docxthis is about databases questions , maybe i miss copy some option D,.docx
this is about databases questions , maybe i miss copy some option D,.docxEvonCanales257
 
This is a summary of White Teeth by Zadie Smith, analyze a short pas.docx
This is a summary of White Teeth by Zadie Smith, analyze a short pas.docxThis is a summary of White Teeth by Zadie Smith, analyze a short pas.docx
This is a summary of White Teeth by Zadie Smith, analyze a short pas.docxEvonCanales257
 
This is a repetition of the first What Am I assignment, in which yo.docx
This is a repetition of the first What Am I assignment, in which yo.docxThis is a repetition of the first What Am I assignment, in which yo.docx
This is a repetition of the first What Am I assignment, in which yo.docxEvonCanales257
 
This is a persuasive presentation on your Communication Audit Report.docx
This is a persuasive presentation on your Communication Audit Report.docxThis is a persuasive presentation on your Communication Audit Report.docx
This is a persuasive presentation on your Communication Audit Report.docxEvonCanales257
 
This is a flow chart of an existing project. It should be about .docx
This is a flow chart of an existing project. It should be about .docxThis is a flow chart of an existing project. It should be about .docx
This is a flow chart of an existing project. It should be about .docxEvonCanales257
 
This is a history library paper.The library paper should be double.docx
This is a history library paper.The library paper should be double.docxThis is a history library paper.The library paper should be double.docx
This is a history library paper.The library paper should be double.docxEvonCanales257
 
This is a Discussion post onlyGlobalization may have.docx
This is a Discussion post onlyGlobalization may have.docxThis is a Discussion post onlyGlobalization may have.docx
This is a Discussion post onlyGlobalization may have.docxEvonCanales257
 
This is a criminal justice homeworkThe topic is Actus Reus and Men.docx
This is a criminal justice homeworkThe topic is Actus Reus and Men.docxThis is a criminal justice homeworkThe topic is Actus Reus and Men.docx
This is a criminal justice homeworkThe topic is Actus Reus and Men.docxEvonCanales257
 
This is a combined interview and short research paper. You are fir.docx
This is a combined interview and short research paper. You are fir.docxThis is a combined interview and short research paper. You are fir.docx
This is a combined interview and short research paper. You are fir.docxEvonCanales257
 
This is a 250 word minimum forum post.  How do different types o.docx
This is a 250 word minimum forum post.  How do different types o.docxThis is a 250 word minimum forum post.  How do different types o.docx
This is a 250 word minimum forum post.  How do different types o.docxEvonCanales257
 
This homework is for the outline ONLY of a research paper. The outli.docx
This homework is for the outline ONLY of a research paper. The outli.docxThis homework is for the outline ONLY of a research paper. The outli.docx
This homework is for the outline ONLY of a research paper. The outli.docxEvonCanales257
 
this homework for reaserch methods class I have choose my topic for .docx
this homework for reaserch methods class I have choose my topic for .docxthis homework for reaserch methods class I have choose my topic for .docx
this homework for reaserch methods class I have choose my topic for .docxEvonCanales257
 
This is a business information System project (at least 3 pages AP.docx
This is a business information System project (at least 3 pages AP.docxThis is a business information System project (at least 3 pages AP.docx
This is a business information System project (at least 3 pages AP.docxEvonCanales257
 
This is a 2 part assignment. You did the last one now we need to.docx
This is a 2 part assignment. You did the last one now we need to.docxThis is a 2 part assignment. You did the last one now we need to.docx
This is a 2 part assignment. You did the last one now we need to.docxEvonCanales257
 
This hoework assignment course is named Operations Management.The .docx
This hoework assignment course is named Operations Management.The .docxThis hoework assignment course is named Operations Management.The .docx
This hoework assignment course is named Operations Management.The .docxEvonCanales257
 
This handout helps explain your class project. Your task is to d.docx
This handout helps explain your class project. Your task is to d.docxThis handout helps explain your class project. Your task is to d.docx
This handout helps explain your class project. Your task is to d.docxEvonCanales257
 
This for my reflection paper  1-2 pagesIt is due Friday at midnigh.docx
This for my reflection paper  1-2 pagesIt is due Friday at midnigh.docxThis for my reflection paper  1-2 pagesIt is due Friday at midnigh.docx
This for my reflection paper  1-2 pagesIt is due Friday at midnigh.docxEvonCanales257
 
This first briefing should be an introduction to your AOI(Area of In.docx
This first briefing should be an introduction to your AOI(Area of In.docxThis first briefing should be an introduction to your AOI(Area of In.docx
This first briefing should be an introduction to your AOI(Area of In.docxEvonCanales257
 
This discussion will allow you to examine several different prev.docx
This discussion will allow you to examine several different prev.docxThis discussion will allow you to examine several different prev.docx
This discussion will allow you to examine several different prev.docxEvonCanales257
 

Mehr von EvonCanales257 (20)

This is a Team Assignment. I have attached what another student on t.docx
This is a Team Assignment. I have attached what another student on t.docxThis is a Team Assignment. I have attached what another student on t.docx
This is a Team Assignment. I have attached what another student on t.docx
 
this is about databases questions , maybe i miss copy some option D,.docx
this is about databases questions , maybe i miss copy some option D,.docxthis is about databases questions , maybe i miss copy some option D,.docx
this is about databases questions , maybe i miss copy some option D,.docx
 
This is a summary of White Teeth by Zadie Smith, analyze a short pas.docx
This is a summary of White Teeth by Zadie Smith, analyze a short pas.docxThis is a summary of White Teeth by Zadie Smith, analyze a short pas.docx
This is a summary of White Teeth by Zadie Smith, analyze a short pas.docx
 
This is a repetition of the first What Am I assignment, in which yo.docx
This is a repetition of the first What Am I assignment, in which yo.docxThis is a repetition of the first What Am I assignment, in which yo.docx
This is a repetition of the first What Am I assignment, in which yo.docx
 
This is a persuasive presentation on your Communication Audit Report.docx
This is a persuasive presentation on your Communication Audit Report.docxThis is a persuasive presentation on your Communication Audit Report.docx
This is a persuasive presentation on your Communication Audit Report.docx
 
This is a flow chart of an existing project. It should be about .docx
This is a flow chart of an existing project. It should be about .docxThis is a flow chart of an existing project. It should be about .docx
This is a flow chart of an existing project. It should be about .docx
 
This is a history library paper.The library paper should be double.docx
This is a history library paper.The library paper should be double.docxThis is a history library paper.The library paper should be double.docx
This is a history library paper.The library paper should be double.docx
 
This is a Discussion post onlyGlobalization may have.docx
This is a Discussion post onlyGlobalization may have.docxThis is a Discussion post onlyGlobalization may have.docx
This is a Discussion post onlyGlobalization may have.docx
 
This is a criminal justice homeworkThe topic is Actus Reus and Men.docx
This is a criminal justice homeworkThe topic is Actus Reus and Men.docxThis is a criminal justice homeworkThe topic is Actus Reus and Men.docx
This is a criminal justice homeworkThe topic is Actus Reus and Men.docx
 
This is a combined interview and short research paper. You are fir.docx
This is a combined interview and short research paper. You are fir.docxThis is a combined interview and short research paper. You are fir.docx
This is a combined interview and short research paper. You are fir.docx
 
This is a 250 word minimum forum post.  How do different types o.docx
This is a 250 word minimum forum post.  How do different types o.docxThis is a 250 word minimum forum post.  How do different types o.docx
This is a 250 word minimum forum post.  How do different types o.docx
 
This homework is for the outline ONLY of a research paper. The outli.docx
This homework is for the outline ONLY of a research paper. The outli.docxThis homework is for the outline ONLY of a research paper. The outli.docx
This homework is for the outline ONLY of a research paper. The outli.docx
 
this homework for reaserch methods class I have choose my topic for .docx
this homework for reaserch methods class I have choose my topic for .docxthis homework for reaserch methods class I have choose my topic for .docx
this homework for reaserch methods class I have choose my topic for .docx
 
This is a business information System project (at least 3 pages AP.docx
This is a business information System project (at least 3 pages AP.docxThis is a business information System project (at least 3 pages AP.docx
This is a business information System project (at least 3 pages AP.docx
 
This is a 2 part assignment. You did the last one now we need to.docx
This is a 2 part assignment. You did the last one now we need to.docxThis is a 2 part assignment. You did the last one now we need to.docx
This is a 2 part assignment. You did the last one now we need to.docx
 
This hoework assignment course is named Operations Management.The .docx
This hoework assignment course is named Operations Management.The .docxThis hoework assignment course is named Operations Management.The .docx
This hoework assignment course is named Operations Management.The .docx
 
This handout helps explain your class project. Your task is to d.docx
This handout helps explain your class project. Your task is to d.docxThis handout helps explain your class project. Your task is to d.docx
This handout helps explain your class project. Your task is to d.docx
 
This for my reflection paper  1-2 pagesIt is due Friday at midnigh.docx
This for my reflection paper  1-2 pagesIt is due Friday at midnigh.docxThis for my reflection paper  1-2 pagesIt is due Friday at midnigh.docx
This for my reflection paper  1-2 pagesIt is due Friday at midnigh.docx
 
This first briefing should be an introduction to your AOI(Area of In.docx
This first briefing should be an introduction to your AOI(Area of In.docxThis first briefing should be an introduction to your AOI(Area of In.docx
This first briefing should be an introduction to your AOI(Area of In.docx
 
This discussion will allow you to examine several different prev.docx
This discussion will allow you to examine several different prev.docxThis discussion will allow you to examine several different prev.docx
This discussion will allow you to examine several different prev.docx
 

Kürzlich hochgeladen

mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 

Kürzlich hochgeladen (20)

mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 

This assignment is to develop your first object-oriented program. Yo.docx

  • 1. This assignment is to develop your first object-oriented program. You will utilize classes, common data types, and control structures. Following are the instructions. Step 1: Define a Computer class that can be used to describe your computer. The class must have at least two attributes. One variable must be an integer data type and the other must be a String data type. At least one method should be defined in your class. Step 1a: Prepare a class diagram to illustrate your Computer class. Copy to a Word document. Step 1b: Prepare the source code that implements your Computer class. Give your source code a filename of Computer.java. Step 2: Prepare a program that utilizes your Computer class. The requirements for the program include prompting the user for input, making a calculation, and printing out the results. Begin by creating your pseudocode for this program. Once you have your pseudocode, copy it into your Word document. You can now begin writing your program. Your program should prompt the user for information about their existing computer followed by information about a future, more desirable computer. This means that your program will create two instances of Computer class, the first instance reflects the existing Computer, and the second instance reflects the future Computer. Use the Scanner class for obtaining input from the user keyboard. The program must calculate the difference (improvement) between the existing and future Computer class variables of integer data type. For example, Computer class may contain an integer variable named memory. The value of the memory variable for the existing Computer instance may be 8, while the value for this variable in the future Computer instance may be 10. Calculating the difference would indicate an improvement of 2. Print to the screen the values for the existing computer class and the desired computer class, along with the calculated improvement.
  • 2. Your assignment submittal should include your properly commented Java source code for your Computer class as well as for your program. The first step should be to plan your program. Prepare a Word document that shows your program plan description including class diagram and your pseudocode defining program logic. The second step should be to write the code based upon your planning document. Submit the Word design document, source code for Computer class and for your program. Include both .class files.