SlideShare a Scribd company logo
Create 3 classes. Person Super Class, CovidForm subclass and a BankAccount subclass .
Use the Information in the tables below to insert into each class.( All class variables must
be private )
Create constructors and getters for the Super Classes and Sub Classes.
Create an object for covidForm and BankAccount in the main class.
Use the Scanner to set the arguments in CovidForm and BankAccount Object.
Print both forms. They should look like this.
Person begin{tabular}{l} hline firstName ImiddleName lastName email height age gender hline
end{tabular} BankAccount extends Person Covid-19 Form extends Person begin{tabular}{|l|} hline
Person Stuff island emegerencyContact placesVisited symptoms hline end{tabular} personStuff
accountType accountNumber balance

More Related Content

More from madhan608556

Ejercicio fundamental 416 Conciliacin Bancaria Firebird C.pdf
Ejercicio fundamental 416 Conciliacin Bancaria  Firebird C.pdfEjercicio fundamental 416 Conciliacin Bancaria  Firebird C.pdf
Ejercicio fundamental 416 Conciliacin Bancaria Firebird C.pdf
madhan608556
 
Describa un plan de cmo Thomas Green podra mejorar sus hab.pdf
Describa un plan de cmo Thomas Green podra mejorar sus hab.pdfDescriba un plan de cmo Thomas Green podra mejorar sus hab.pdf
Describa un plan de cmo Thomas Green podra mejorar sus hab.pdf
madhan608556
 
Common stock valuation Abercrombie amp Fitchs common st.pdf
Common stock valuation Abercrombie amp Fitchs common st.pdfCommon stock valuation Abercrombie amp Fitchs common st.pdf
Common stock valuation Abercrombie amp Fitchs common st.pdf
madhan608556
 
6 Consider the following graph where S is the start state a.pdf
6 Consider the following graph where S is the start state a.pdf6 Consider the following graph where S is the start state a.pdf
6 Consider the following graph where S is the start state a.pdf
madhan608556
 
1Which of the following is NOT recognized as a product defe.pdf
1Which of the following is NOT recognized as a product defe.pdf1Which of the following is NOT recognized as a product defe.pdf
1Which of the following is NOT recognized as a product defe.pdf
madhan608556
 
Can you please help me complete the puzzle Across Down 4 s .pdf
Can you please help me complete the puzzle Across Down 4 s .pdfCan you please help me complete the puzzle Across Down 4 s .pdf
Can you please help me complete the puzzle Across Down 4 s .pdf
madhan608556
 
A population of values has a normal distribution with 2432.pdf
A population of values has a normal distribution with 2432.pdfA population of values has a normal distribution with 2432.pdf
A population of values has a normal distribution with 2432.pdf
madhan608556
 
What strategy can you design to get this new drug into the c.pdf
What strategy can you design to get this new drug into the c.pdfWhat strategy can you design to get this new drug into the c.pdf
What strategy can you design to get this new drug into the c.pdf
madhan608556
 
Indique si cada afirmacin es verdadera o falsa seleccionand.pdf
Indique si cada afirmacin es verdadera o falsa seleccionand.pdfIndique si cada afirmacin es verdadera o falsa seleccionand.pdf
Indique si cada afirmacin es verdadera o falsa seleccionand.pdf
madhan608556
 
There are cougars that have two coat color phenotypes blue .pdf
There are cougars that have two coat color phenotypes blue .pdfThere are cougars that have two coat color phenotypes blue .pdf
There are cougars that have two coat color phenotypes blue .pdf
madhan608556
 
2 Consider an economy with L2 goods and M2 consumers Con.pdf
2 Consider an economy with L2 goods and M2 consumers Con.pdf2 Consider an economy with L2 goods and M2 consumers Con.pdf
2 Consider an economy with L2 goods and M2 consumers Con.pdf
madhan608556
 
Suppose that you want an operation for the ADT list that ret.pdf
Suppose that you want an operation for the ADT list that ret.pdfSuppose that you want an operation for the ADT list that ret.pdf
Suppose that you want an operation for the ADT list that ret.pdf
madhan608556
 
11 Let X be a hypergeometric RV with PMF PMXxNn1Mx.pdf
11 Let X be a hypergeometric RV with PMF PMXxNn1Mx.pdf11 Let X be a hypergeometric RV with PMF PMXxNn1Mx.pdf
11 Let X be a hypergeometric RV with PMF PMXxNn1Mx.pdf
madhan608556
 
t Fird the sarnghe manan The sample meania 1595 ihound to.pdf
t Fird the sarnghe manan The sample meania 1595 ihound to.pdft Fird the sarnghe manan The sample meania 1595 ihound to.pdf
t Fird the sarnghe manan The sample meania 1595 ihound to.pdf
madhan608556
 
1 UTrade Inc compra productos en China y los vende a com.pdf
1 UTrade Inc compra productos en China y los vende a com.pdf1 UTrade Inc compra productos en China y los vende a com.pdf
1 UTrade Inc compra productos en China y los vende a com.pdf
madhan608556
 
Random variable X has probability density function fXx1x.pdf
Random variable X has probability density function fXx1x.pdfRandom variable X has probability density function fXx1x.pdf
Random variable X has probability density function fXx1x.pdf
madhan608556
 
Part 210 points Calculate Retained Earnings The stockhol.pdf
Part 210 points Calculate Retained Earnings The stockhol.pdfPart 210 points Calculate Retained Earnings The stockhol.pdf
Part 210 points Calculate Retained Earnings The stockhol.pdf
madhan608556
 
Mr Manns Clinical Scenario Mr Mann aged 50 years has be.pdf
Mr Manns Clinical Scenario Mr Mann aged 50 years has be.pdfMr Manns Clinical Scenario Mr Mann aged 50 years has be.pdf
Mr Manns Clinical Scenario Mr Mann aged 50 years has be.pdf
madhan608556
 
Let there be two goods L2 Consider a finite number of Leo.pdf
Let there be two goods L2 Consider a finite number of Leo.pdfLet there be two goods L2 Consider a finite number of Leo.pdf
Let there be two goods L2 Consider a finite number of Leo.pdf
madhan608556
 
How to answer these questions below in general 1 Pleas.pdf
How to answer these questions below in general  1    Pleas.pdfHow to answer these questions below in general  1    Pleas.pdf
How to answer these questions below in general 1 Pleas.pdf
madhan608556
 

More from madhan608556 (20)

Ejercicio fundamental 416 Conciliacin Bancaria Firebird C.pdf
Ejercicio fundamental 416 Conciliacin Bancaria  Firebird C.pdfEjercicio fundamental 416 Conciliacin Bancaria  Firebird C.pdf
Ejercicio fundamental 416 Conciliacin Bancaria Firebird C.pdf
 
Describa un plan de cmo Thomas Green podra mejorar sus hab.pdf
Describa un plan de cmo Thomas Green podra mejorar sus hab.pdfDescriba un plan de cmo Thomas Green podra mejorar sus hab.pdf
Describa un plan de cmo Thomas Green podra mejorar sus hab.pdf
 
Common stock valuation Abercrombie amp Fitchs common st.pdf
Common stock valuation Abercrombie amp Fitchs common st.pdfCommon stock valuation Abercrombie amp Fitchs common st.pdf
Common stock valuation Abercrombie amp Fitchs common st.pdf
 
6 Consider the following graph where S is the start state a.pdf
6 Consider the following graph where S is the start state a.pdf6 Consider the following graph where S is the start state a.pdf
6 Consider the following graph where S is the start state a.pdf
 
1Which of the following is NOT recognized as a product defe.pdf
1Which of the following is NOT recognized as a product defe.pdf1Which of the following is NOT recognized as a product defe.pdf
1Which of the following is NOT recognized as a product defe.pdf
 
Can you please help me complete the puzzle Across Down 4 s .pdf
Can you please help me complete the puzzle Across Down 4 s .pdfCan you please help me complete the puzzle Across Down 4 s .pdf
Can you please help me complete the puzzle Across Down 4 s .pdf
 
A population of values has a normal distribution with 2432.pdf
A population of values has a normal distribution with 2432.pdfA population of values has a normal distribution with 2432.pdf
A population of values has a normal distribution with 2432.pdf
 
What strategy can you design to get this new drug into the c.pdf
What strategy can you design to get this new drug into the c.pdfWhat strategy can you design to get this new drug into the c.pdf
What strategy can you design to get this new drug into the c.pdf
 
Indique si cada afirmacin es verdadera o falsa seleccionand.pdf
Indique si cada afirmacin es verdadera o falsa seleccionand.pdfIndique si cada afirmacin es verdadera o falsa seleccionand.pdf
Indique si cada afirmacin es verdadera o falsa seleccionand.pdf
 
There are cougars that have two coat color phenotypes blue .pdf
There are cougars that have two coat color phenotypes blue .pdfThere are cougars that have two coat color phenotypes blue .pdf
There are cougars that have two coat color phenotypes blue .pdf
 
2 Consider an economy with L2 goods and M2 consumers Con.pdf
2 Consider an economy with L2 goods and M2 consumers Con.pdf2 Consider an economy with L2 goods and M2 consumers Con.pdf
2 Consider an economy with L2 goods and M2 consumers Con.pdf
 
Suppose that you want an operation for the ADT list that ret.pdf
Suppose that you want an operation for the ADT list that ret.pdfSuppose that you want an operation for the ADT list that ret.pdf
Suppose that you want an operation for the ADT list that ret.pdf
 
11 Let X be a hypergeometric RV with PMF PMXxNn1Mx.pdf
11 Let X be a hypergeometric RV with PMF PMXxNn1Mx.pdf11 Let X be a hypergeometric RV with PMF PMXxNn1Mx.pdf
11 Let X be a hypergeometric RV with PMF PMXxNn1Mx.pdf
 
t Fird the sarnghe manan The sample meania 1595 ihound to.pdf
t Fird the sarnghe manan The sample meania 1595 ihound to.pdft Fird the sarnghe manan The sample meania 1595 ihound to.pdf
t Fird the sarnghe manan The sample meania 1595 ihound to.pdf
 
1 UTrade Inc compra productos en China y los vende a com.pdf
1 UTrade Inc compra productos en China y los vende a com.pdf1 UTrade Inc compra productos en China y los vende a com.pdf
1 UTrade Inc compra productos en China y los vende a com.pdf
 
Random variable X has probability density function fXx1x.pdf
Random variable X has probability density function fXx1x.pdfRandom variable X has probability density function fXx1x.pdf
Random variable X has probability density function fXx1x.pdf
 
Part 210 points Calculate Retained Earnings The stockhol.pdf
Part 210 points Calculate Retained Earnings The stockhol.pdfPart 210 points Calculate Retained Earnings The stockhol.pdf
Part 210 points Calculate Retained Earnings The stockhol.pdf
 
Mr Manns Clinical Scenario Mr Mann aged 50 years has be.pdf
Mr Manns Clinical Scenario Mr Mann aged 50 years has be.pdfMr Manns Clinical Scenario Mr Mann aged 50 years has be.pdf
Mr Manns Clinical Scenario Mr Mann aged 50 years has be.pdf
 
Let there be two goods L2 Consider a finite number of Leo.pdf
Let there be two goods L2 Consider a finite number of Leo.pdfLet there be two goods L2 Consider a finite number of Leo.pdf
Let there be two goods L2 Consider a finite number of Leo.pdf
 
How to answer these questions below in general 1 Pleas.pdf
How to answer these questions below in general  1    Pleas.pdfHow to answer these questions below in general  1    Pleas.pdf
How to answer these questions below in general 1 Pleas.pdf
 

Recently uploaded

LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
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
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
Wahiba Chair Training & Consulting
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
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
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
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
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
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
 
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
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
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
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
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
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 

Recently uploaded (20)

LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
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
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience How to Create a More Engaging and Human Online Learning Experience
How to Create a More Engaging and Human Online Learning Experience
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
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
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
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
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
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...
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
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...
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
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
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 

Create 3 classes Person Super Class CovidForm subclass and.pdf

  • 1. Create 3 classes. Person Super Class, CovidForm subclass and a BankAccount subclass . Use the Information in the tables below to insert into each class.( All class variables must be private ) Create constructors and getters for the Super Classes and Sub Classes. Create an object for covidForm and BankAccount in the main class. Use the Scanner to set the arguments in CovidForm and BankAccount Object. Print both forms. They should look like this. Person begin{tabular}{l} hline firstName ImiddleName lastName email height age gender hline end{tabular} BankAccount extends Person Covid-19 Form extends Person begin{tabular}{|l|} hline Person Stuff island emegerencyContact placesVisited symptoms hline end{tabular} personStuff accountType accountNumber balance