SlideShare a Scribd company logo
Make the Rectangle.java class.
Add a color attribute and make it private.
Make a constructor with three attributes for assigning a value to width, height, and color when
the Rectangle is instantiated.
Add getter and setter methods for all of the attributes.
Add a method that returns the area of the shape.

More Related Content

More from Robert4vCParsonsn

Mr- and Mrs- Kim Soo use a fiscal year ending July 31 as the taxable y.pdf
Mr- and Mrs- Kim Soo use a fiscal year ending July 31 as the taxable y.pdfMr- and Mrs- Kim Soo use a fiscal year ending July 31 as the taxable y.pdf
Mr- and Mrs- Kim Soo use a fiscal year ending July 31 as the taxable y.pdf
Robert4vCParsonsn
 
mother delivers a baby that has neonatal drug withdrawal- When talking.pdf
mother delivers a baby that has neonatal drug withdrawal- When talking.pdfmother delivers a baby that has neonatal drug withdrawal- When talking.pdf
mother delivers a baby that has neonatal drug withdrawal- When talking.pdf
Robert4vCParsonsn
 
Most of the cells in the body carry receptors for the insulin hormone.pdf
Most of the cells in the body carry receptors for the insulin hormone.pdfMost of the cells in the body carry receptors for the insulin hormone.pdf
Most of the cells in the body carry receptors for the insulin hormone.pdf
Robert4vCParsonsn
 
Monty Corp- Inc- had a beginning inventory of 100 units of Product RST (1).pdf
Monty Corp- Inc- had a beginning inventory of 100 units of Product RST (1).pdfMonty Corp- Inc- had a beginning inventory of 100 units of Product RST (1).pdf
Monty Corp- Inc- had a beginning inventory of 100 units of Product RST (1).pdf
Robert4vCParsonsn
 
Modular bilis are used to reduce the number of 80M s when a product co.pdf
Modular bilis are used to reduce the number of 80M s when a product co.pdfModular bilis are used to reduce the number of 80M s when a product co.pdf
Modular bilis are used to reduce the number of 80M s when a product co.pdf
Robert4vCParsonsn
 
Modern corporations have always dominated the U-S- economy--going all.pdf
Modern corporations have always dominated the U-S- economy--going all.pdfModern corporations have always dominated the U-S- economy--going all.pdf
Modern corporations have always dominated the U-S- economy--going all.pdf
Robert4vCParsonsn
 
Missing Node while Printing a Sorted List (C) I have a linked list t.pdf
Missing Node while Printing a Sorted List (C)   I have a linked list t.pdfMissing Node while Printing a Sorted List (C)   I have a linked list t.pdf
Missing Node while Printing a Sorted List (C) I have a linked list t.pdf
Robert4vCParsonsn
 
Mod 8 Network Layer Worksheet IPv4 hosts have a routing table they use.pdf
Mod 8 Network Layer Worksheet IPv4 hosts have a routing table they use.pdfMod 8 Network Layer Worksheet IPv4 hosts have a routing table they use.pdf
Mod 8 Network Layer Worksheet IPv4 hosts have a routing table they use.pdf
Robert4vCParsonsn
 
Mimite Vaso What target market did Applebee's pursue in its recent ove.pdf
Mimite Vaso What target market did Applebee's pursue in its recent ove.pdfMimite Vaso What target market did Applebee's pursue in its recent ove.pdf
Mimite Vaso What target market did Applebee's pursue in its recent ove.pdf
Robert4vCParsonsn
 
Merge(numbers- 0-2-5) is called- Complete the table for leftPos and ri.pdf
Merge(numbers- 0-2-5) is called- Complete the table for leftPos and ri.pdfMerge(numbers- 0-2-5) is called- Complete the table for leftPos and ri.pdf
Merge(numbers- 0-2-5) is called- Complete the table for leftPos and ri.pdf
Robert4vCParsonsn
 
menu' is very easily copied and is not a good soutce of custained adva.pdf
menu' is very easily copied and is not a good soutce of custained adva.pdfmenu' is very easily copied and is not a good soutce of custained adva.pdf
menu' is very easily copied and is not a good soutce of custained adva.pdf
Robert4vCParsonsn
 
Mark all the statements that are correct regarding the image shown bel.pdf
Mark all the statements that are correct regarding the image shown bel.pdfMark all the statements that are correct regarding the image shown bel.pdf
Mark all the statements that are correct regarding the image shown bel.pdf
Robert4vCParsonsn
 
Media literacy is an important 21st-century skill- For this discussion.pdf
Media literacy is an important 21st-century skill- For this discussion.pdfMedia literacy is an important 21st-century skill- For this discussion.pdf
Media literacy is an important 21st-century skill- For this discussion.pdf
Robert4vCParsonsn
 
Mel and Jan own a ranch in Wyoming as joint tenants- If Jan dies from.pdf
Mel and Jan own a ranch in Wyoming as joint tenants-  If Jan dies from.pdfMel and Jan own a ranch in Wyoming as joint tenants-  If Jan dies from.pdf
Mel and Jan own a ranch in Wyoming as joint tenants- If Jan dies from.pdf
Robert4vCParsonsn
 
Match the scapula motion with it proper description- Scapular protract.pdf
Match the scapula motion with it proper description- Scapular protract.pdfMatch the scapula motion with it proper description- Scapular protract.pdf
Match the scapula motion with it proper description- Scapular protract.pdf
Robert4vCParsonsn
 
Match the letters with the correct term--Choose- Medial meniscus Tibia.pdf
Match the letters with the correct term--Choose- Medial meniscus Tibia.pdfMatch the letters with the correct term--Choose- Medial meniscus Tibia.pdf
Match the letters with the correct term--Choose- Medial meniscus Tibia.pdf
Robert4vCParsonsn
 
Match the item with its description- Action potential Pre-synaptic neu.pdf
Match the item with its description- Action potential Pre-synaptic neu.pdfMatch the item with its description- Action potential Pre-synaptic neu.pdf
Match the item with its description- Action potential Pre-synaptic neu.pdf
Robert4vCParsonsn
 
Match the definition (left side column) with the correct phenomenon (r.pdf
Match the definition (left side column) with the correct phenomenon (r.pdfMatch the definition (left side column) with the correct phenomenon (r.pdf
Match the definition (left side column) with the correct phenomenon (r.pdf
Robert4vCParsonsn
 
Match the descriptions of the new offering development process with th.pdf
Match the descriptions of the new offering development process with th.pdfMatch the descriptions of the new offering development process with th.pdf
Match the descriptions of the new offering development process with th.pdf
Robert4vCParsonsn
 
Match each of the following accounts to its proper balance sheet class.pdf
Match each of the following accounts to its proper balance sheet class.pdfMatch each of the following accounts to its proper balance sheet class.pdf
Match each of the following accounts to its proper balance sheet class.pdf
Robert4vCParsonsn
 

More from Robert4vCParsonsn (20)

Mr- and Mrs- Kim Soo use a fiscal year ending July 31 as the taxable y.pdf
Mr- and Mrs- Kim Soo use a fiscal year ending July 31 as the taxable y.pdfMr- and Mrs- Kim Soo use a fiscal year ending July 31 as the taxable y.pdf
Mr- and Mrs- Kim Soo use a fiscal year ending July 31 as the taxable y.pdf
 
mother delivers a baby that has neonatal drug withdrawal- When talking.pdf
mother delivers a baby that has neonatal drug withdrawal- When talking.pdfmother delivers a baby that has neonatal drug withdrawal- When talking.pdf
mother delivers a baby that has neonatal drug withdrawal- When talking.pdf
 
Most of the cells in the body carry receptors for the insulin hormone.pdf
Most of the cells in the body carry receptors for the insulin hormone.pdfMost of the cells in the body carry receptors for the insulin hormone.pdf
Most of the cells in the body carry receptors for the insulin hormone.pdf
 
Monty Corp- Inc- had a beginning inventory of 100 units of Product RST (1).pdf
Monty Corp- Inc- had a beginning inventory of 100 units of Product RST (1).pdfMonty Corp- Inc- had a beginning inventory of 100 units of Product RST (1).pdf
Monty Corp- Inc- had a beginning inventory of 100 units of Product RST (1).pdf
 
Modular bilis are used to reduce the number of 80M s when a product co.pdf
Modular bilis are used to reduce the number of 80M s when a product co.pdfModular bilis are used to reduce the number of 80M s when a product co.pdf
Modular bilis are used to reduce the number of 80M s when a product co.pdf
 
Modern corporations have always dominated the U-S- economy--going all.pdf
Modern corporations have always dominated the U-S- economy--going all.pdfModern corporations have always dominated the U-S- economy--going all.pdf
Modern corporations have always dominated the U-S- economy--going all.pdf
 
Missing Node while Printing a Sorted List (C) I have a linked list t.pdf
Missing Node while Printing a Sorted List (C)   I have a linked list t.pdfMissing Node while Printing a Sorted List (C)   I have a linked list t.pdf
Missing Node while Printing a Sorted List (C) I have a linked list t.pdf
 
Mod 8 Network Layer Worksheet IPv4 hosts have a routing table they use.pdf
Mod 8 Network Layer Worksheet IPv4 hosts have a routing table they use.pdfMod 8 Network Layer Worksheet IPv4 hosts have a routing table they use.pdf
Mod 8 Network Layer Worksheet IPv4 hosts have a routing table they use.pdf
 
Mimite Vaso What target market did Applebee's pursue in its recent ove.pdf
Mimite Vaso What target market did Applebee's pursue in its recent ove.pdfMimite Vaso What target market did Applebee's pursue in its recent ove.pdf
Mimite Vaso What target market did Applebee's pursue in its recent ove.pdf
 
Merge(numbers- 0-2-5) is called- Complete the table for leftPos and ri.pdf
Merge(numbers- 0-2-5) is called- Complete the table for leftPos and ri.pdfMerge(numbers- 0-2-5) is called- Complete the table for leftPos and ri.pdf
Merge(numbers- 0-2-5) is called- Complete the table for leftPos and ri.pdf
 
menu' is very easily copied and is not a good soutce of custained adva.pdf
menu' is very easily copied and is not a good soutce of custained adva.pdfmenu' is very easily copied and is not a good soutce of custained adva.pdf
menu' is very easily copied and is not a good soutce of custained adva.pdf
 
Mark all the statements that are correct regarding the image shown bel.pdf
Mark all the statements that are correct regarding the image shown bel.pdfMark all the statements that are correct regarding the image shown bel.pdf
Mark all the statements that are correct regarding the image shown bel.pdf
 
Media literacy is an important 21st-century skill- For this discussion.pdf
Media literacy is an important 21st-century skill- For this discussion.pdfMedia literacy is an important 21st-century skill- For this discussion.pdf
Media literacy is an important 21st-century skill- For this discussion.pdf
 
Mel and Jan own a ranch in Wyoming as joint tenants- If Jan dies from.pdf
Mel and Jan own a ranch in Wyoming as joint tenants-  If Jan dies from.pdfMel and Jan own a ranch in Wyoming as joint tenants-  If Jan dies from.pdf
Mel and Jan own a ranch in Wyoming as joint tenants- If Jan dies from.pdf
 
Match the scapula motion with it proper description- Scapular protract.pdf
Match the scapula motion with it proper description- Scapular protract.pdfMatch the scapula motion with it proper description- Scapular protract.pdf
Match the scapula motion with it proper description- Scapular protract.pdf
 
Match the letters with the correct term--Choose- Medial meniscus Tibia.pdf
Match the letters with the correct term--Choose- Medial meniscus Tibia.pdfMatch the letters with the correct term--Choose- Medial meniscus Tibia.pdf
Match the letters with the correct term--Choose- Medial meniscus Tibia.pdf
 
Match the item with its description- Action potential Pre-synaptic neu.pdf
Match the item with its description- Action potential Pre-synaptic neu.pdfMatch the item with its description- Action potential Pre-synaptic neu.pdf
Match the item with its description- Action potential Pre-synaptic neu.pdf
 
Match the definition (left side column) with the correct phenomenon (r.pdf
Match the definition (left side column) with the correct phenomenon (r.pdfMatch the definition (left side column) with the correct phenomenon (r.pdf
Match the definition (left side column) with the correct phenomenon (r.pdf
 
Match the descriptions of the new offering development process with th.pdf
Match the descriptions of the new offering development process with th.pdfMatch the descriptions of the new offering development process with th.pdf
Match the descriptions of the new offering development process with th.pdf
 
Match each of the following accounts to its proper balance sheet class.pdf
Match each of the following accounts to its proper balance sheet class.pdfMatch each of the following accounts to its proper balance sheet class.pdf
Match each of the following accounts to its proper balance sheet class.pdf
 

Recently uploaded

UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
S. Raj Kumar
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
สมใจ จันสุกสี
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
MysoreMuleSoftMeetup
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
Himanshu Rai
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
 
ZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptxZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptx
dot55audits
 

Recently uploaded (20)

UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47Mule event processing models | MuleSoft Mysore Meetup #47
Mule event processing models | MuleSoft Mysore Meetup #47
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
 
ZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptxZK on Polkadot zero knowledge proofs - sub0.pptx
ZK on Polkadot zero knowledge proofs - sub0.pptx
 

Make the Rectangle-java class- Add a color attribute and make it pri.pdf

  • 1. Make the Rectangle.java class. Add a color attribute and make it private. Make a constructor with three attributes for assigning a value to width, height, and color when the Rectangle is instantiated. Add getter and setter methods for all of the attributes. Add a method that returns the area of the shape.