SlideShare a Scribd company logo
Homework E-1: Write a class for a School. Use a School object in the Student class from the
work above. A School has a name, a state, and a principal (who is a Person but not a Student).
Write a toString method for the School class. Note that a School is not a child class of either
Person or Student. This means that you will not be using extends in defining School. Write a
driver app that defines a School named Glenbrook North High School (Illinois). The Principal is
Ed Rooney and Ferris Bueller is a student. Create a second school that Andie Walsh attends.

More Related Content

More from trishulinoverseas1

Here is the game description- Here is the sample game- Goal- Your goal (1).pdf
Here is the game description- Here is the sample game- Goal- Your goal (1).pdfHere is the game description- Here is the sample game- Goal- Your goal (1).pdf
Here is the game description- Here is the sample game- Goal- Your goal (1).pdf
trishulinoverseas1
 
Homework for Day 1 Design and carry out a simulation to answer the fol.pdf
Homework for Day 1 Design and carry out a simulation to answer the fol.pdfHomework for Day 1 Design and carry out a simulation to answer the fol.pdf
Homework for Day 1 Design and carry out a simulation to answer the fol.pdf
trishulinoverseas1
 
Hiroshi's business meeting ran late- and he is rushing through in the.pdf
Hiroshi's business meeting ran late- and he is rushing through in the.pdfHiroshi's business meeting ran late- and he is rushing through in the.pdf
Hiroshi's business meeting ran late- and he is rushing through in the.pdf
trishulinoverseas1
 

More from trishulinoverseas1 (20)

Here are the errors associated with a particular forecast over the pas.pdf
Here are the errors associated with a particular forecast over the pas.pdfHere are the errors associated with a particular forecast over the pas.pdf
Here are the errors associated with a particular forecast over the pas.pdf
 
Here is an example of active- natural immunity- If you had chicken pox.pdf
Here is an example of active- natural immunity- If you had chicken pox.pdfHere is an example of active- natural immunity- If you had chicken pox.pdf
Here is an example of active- natural immunity- If you had chicken pox.pdf
 
Here is the game description- Here is the sample game- Goal- Your goal (1).pdf
Here is the game description- Here is the sample game- Goal- Your goal (1).pdfHere is the game description- Here is the sample game- Goal- Your goal (1).pdf
Here is the game description- Here is the sample game- Goal- Your goal (1).pdf
 
Here is a chart of the Nasdaq Composite- the world's main technology i.pdf
Here is a chart of the Nasdaq Composite- the world's main technology i.pdfHere is a chart of the Nasdaq Composite- the world's main technology i.pdf
Here is a chart of the Nasdaq Composite- the world's main technology i.pdf
 
Here are the alphas and the betas for Company A and Company B- Alpha i.pdf
Here are the alphas and the betas for Company A and Company B- Alpha i.pdfHere are the alphas and the betas for Company A and Company B- Alpha i.pdf
Here are the alphas and the betas for Company A and Company B- Alpha i.pdf
 
Homework for Day 1 Design and carry out a simulation to answer the fol.pdf
Homework for Day 1 Design and carry out a simulation to answer the fol.pdfHomework for Day 1 Design and carry out a simulation to answer the fol.pdf
Homework for Day 1 Design and carry out a simulation to answer the fol.pdf
 
Hot spots are used as a proof of P2T- the continent sliding over a sta.pdf
Hot spots are used as a proof of P2T- the continent sliding over a sta.pdfHot spots are used as a proof of P2T- the continent sliding over a sta.pdf
Hot spots are used as a proof of P2T- the continent sliding over a sta.pdf
 
Housing DataThe accompanying frequency distribution represents the own.pdf
Housing DataThe accompanying frequency distribution represents the own.pdfHousing DataThe accompanying frequency distribution represents the own.pdf
Housing DataThe accompanying frequency distribution represents the own.pdf
 
hotel BLU Vancouver what steps and progress has been achieved 6points.pdf
hotel BLU Vancouver what steps and progress has been achieved 6points.pdfhotel BLU Vancouver what steps and progress has been achieved 6points.pdf
hotel BLU Vancouver what steps and progress has been achieved 6points.pdf
 
Herb and Alice are married and file a joint return- Herb is 74 years o.pdf
Herb and Alice are married and file a joint return- Herb is 74 years o.pdfHerb and Alice are married and file a joint return- Herb is 74 years o.pdf
Herb and Alice are married and file a joint return- Herb is 74 years o.pdf
 
Homework - Unanswered - Due Today- 4-45 PM assume 100 units of energy.pdf
Homework - Unanswered - Due Today- 4-45 PM assume 100 units of energy.pdfHomework - Unanswered - Due Today- 4-45 PM assume 100 units of energy.pdf
Homework - Unanswered - Due Today- 4-45 PM assume 100 units of energy.pdf
 
Home Insert Page Layout Formulas Data Review View HelpL34- 7 In cell M.pdf
Home Insert Page Layout Formulas Data Review View HelpL34- 7 In cell M.pdfHome Insert Page Layout Formulas Data Review View HelpL34- 7 In cell M.pdf
Home Insert Page Layout Formulas Data Review View HelpL34- 7 In cell M.pdf
 
Holding cost -$1-50- unit-week- setup cost -$200- lead time -1 week- b.pdf
Holding cost -$1-50- unit-week- setup cost -$200- lead time -1 week- b.pdfHolding cost -$1-50- unit-week- setup cost -$200- lead time -1 week- b.pdf
Holding cost -$1-50- unit-week- setup cost -$200- lead time -1 week- b.pdf
 
HLA Critical Thinking Exercise Select the best choice for 1-10 from th.pdf
HLA Critical Thinking Exercise Select the best choice for 1-10 from th.pdfHLA Critical Thinking Exercise Select the best choice for 1-10 from th.pdf
HLA Critical Thinking Exercise Select the best choice for 1-10 from th.pdf
 
Hiroshi's business meeting ran late- and he is rushing through in the.pdf
Hiroshi's business meeting ran late- and he is rushing through in the.pdfHiroshi's business meeting ran late- and he is rushing through in the.pdf
Hiroshi's business meeting ran late- and he is rushing through in the.pdf
 
Hinis 4- Thin 11- Ialu 1- True ii- False 1- True ii- False is ( in) 1-.pdf
Hinis 4- Thin 11- Ialu 1- True ii- False 1- True ii- False is ( in) 1-.pdfHinis 4- Thin 11- Ialu 1- True ii- False 1- True ii- False is ( in) 1-.pdf
Hinis 4- Thin 11- Ialu 1- True ii- False 1- True ii- False is ( in) 1-.pdf
 
HIMT 1301 Introduction to Health Information Management Case Study 1-1.pdf
HIMT 1301 Introduction to Health Information Management Case Study 1-1.pdfHIMT 1301 Introduction to Health Information Management Case Study 1-1.pdf
HIMT 1301 Introduction to Health Information Management Case Study 1-1.pdf
 
Hint Don'tonget to innualize and fomat your APH- a- Complete the Follo.pdf
Hint Don'tonget to innualize and fomat your APH- a- Complete the Follo.pdfHint Don'tonget to innualize and fomat your APH- a- Complete the Follo.pdf
Hint Don'tonget to innualize and fomat your APH- a- Complete the Follo.pdf
 
High sulfur coal was formed in areas where---- seawater was present du.pdf
High sulfur coal was formed in areas where---- seawater was present du.pdfHigh sulfur coal was formed in areas where---- seawater was present du.pdf
High sulfur coal was formed in areas where---- seawater was present du.pdf
 
Hemophilia is an X linked recessive disorder- If a female carrier has.pdf
Hemophilia is an X linked recessive disorder- If a female carrier has.pdfHemophilia is an X linked recessive disorder- If a female carrier has.pdf
Hemophilia is an X linked recessive disorder- If a female carrier has.pdf
 

Recently uploaded

Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
Avinash Rai
 

Recently uploaded (20)

How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
50 ĐỀ LUYỆN THI IOE LỚP 9 - NĂM HỌC 2022-2023 (CÓ LINK HÌNH, FILE AUDIO VÀ ĐÁ...
 
Advances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfAdvances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdf
 
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
Forest and Wildlife Resources Class 10 Free Study Material PDF
Forest and Wildlife Resources Class 10 Free Study Material PDFForest and Wildlife Resources Class 10 Free Study Material PDF
Forest and Wildlife Resources Class 10 Free Study Material PDF
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
 
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & EngineeringBasic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
Basic Civil Engg Notes_Chapter-6_Environment Pollution & Engineering
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptx
 
Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"
Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"
Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"
 
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
Operations Management - Book1.p  - Dr. Abdulfatah A. SalemOperations Management - Book1.p  - Dr. Abdulfatah A. Salem
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Benefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational ResourcesBenefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational Resources
 
Salient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptxSalient features of Environment protection Act 1986.pptx
Salient features of Environment protection Act 1986.pptx
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 

Homework E-1- Write a class for a School- Use a School object in the S.pdf

  • 1. Homework E-1: Write a class for a School. Use a School object in the Student class from the work above. A School has a name, a state, and a principal (who is a Person but not a Student). Write a toString method for the School class. Note that a School is not a child class of either Person or Student. This means that you will not be using extends in defining School. Write a driver app that defines a School named Glenbrook North High School (Illinois). The Principal is Ed Rooney and Ferris Bueller is a student. Create a second school that Andie Walsh attends.