SlideShare a Scribd company logo
1 of 1
8. Define an abstract class named animal that has properties of name, brand and num_of_legs.
This class has an abstract class named motion. Then define the following child classes: (i) A bird
class where the motion method displays " "name" can fly"; (ii) A dog class where the motion
method displays " "name" can run"; (iii) define a fish class where the motion method displays ""
name" can swim"

More Related Content

More from Charles7AVDowdc

8 Clusters of bile salts- digested lipids- and other nonpolar substanc.docx
8 Clusters of bile salts- digested lipids- and other nonpolar substanc.docx8 Clusters of bile salts- digested lipids- and other nonpolar substanc.docx
8 Clusters of bile salts- digested lipids- and other nonpolar substanc.docxCharles7AVDowdc
 
7-One of the most dramatic changes in connectivity and communications.docx
7-One of the most dramatic changes in connectivity and communications.docx7-One of the most dramatic changes in connectivity and communications.docx
7-One of the most dramatic changes in connectivity and communications.docxCharles7AVDowdc
 
7- What is the dominant generation of ALL vascular plants- Individuals.docx
7- What is the dominant generation of ALL vascular plants- Individuals.docx7- What is the dominant generation of ALL vascular plants- Individuals.docx
7- What is the dominant generation of ALL vascular plants- Individuals.docxCharles7AVDowdc
 
7- Match the following statements to the type of statement being used.docx
7- Match the following statements to the type of statement being used.docx7- Match the following statements to the type of statement being used.docx
7- Match the following statements to the type of statement being used.docxCharles7AVDowdc
 
7- (4) Poreevere with Problems Explain why you cannot describe the spe.docx
7- (4) Poreevere with Problems Explain why you cannot describe the spe.docx7- (4) Poreevere with Problems Explain why you cannot describe the spe.docx
7- (4) Poreevere with Problems Explain why you cannot describe the spe.docxCharles7AVDowdc
 
7- If we run a regression where the return on stock A is the dependent.docx
7- If we run a regression where the return on stock A is the dependent.docx7- If we run a regression where the return on stock A is the dependent.docx
7- If we run a regression where the return on stock A is the dependent.docxCharles7AVDowdc
 
7- Describe the functions of the following enzymes during DNA replicat.docx
7- Describe the functions of the following enzymes during DNA replicat.docx7- Describe the functions of the following enzymes during DNA replicat.docx
7- Describe the functions of the following enzymes during DNA replicat.docxCharles7AVDowdc
 
7- After graduation- you and 19 of your closest friends (lets say 10 m.docx
7- After graduation- you and 19 of your closest friends (lets say 10 m.docx7- After graduation- you and 19 of your closest friends (lets say 10 m.docx
7- After graduation- you and 19 of your closest friends (lets say 10 m.docxCharles7AVDowdc
 
7) Which of the following about Theia is false- A-) The Moon probably.docx
7) Which of the following about Theia is false- A-) The Moon probably.docx7) Which of the following about Theia is false- A-) The Moon probably.docx
7) Which of the following about Theia is false- A-) The Moon probably.docxCharles7AVDowdc
 
7) At Panther Company- materials are added at the beginning of the pro.docx
7) At Panther Company- materials are added at the beginning of the pro.docx7) At Panther Company- materials are added at the beginning of the pro.docx
7) At Panther Company- materials are added at the beginning of the pro.docxCharles7AVDowdc
 
6- What type of tissue comprises the hypodermis- 7- What effects the d.docx
6- What type of tissue comprises the hypodermis- 7- What effects the d.docx6- What type of tissue comprises the hypodermis- 7- What effects the d.docx
6- What type of tissue comprises the hypodermis- 7- What effects the d.docxCharles7AVDowdc
 
6- What is the difference between the proximal and distal epiphyses- 7.docx
6- What is the difference between the proximal and distal epiphyses- 7.docx6- What is the difference between the proximal and distal epiphyses- 7.docx
6- What is the difference between the proximal and distal epiphyses- 7.docxCharles7AVDowdc
 
6- Use induction to prove the following identity for integers n1 - i-1.docx
6- Use induction to prove the following identity for integers n1 - i-1.docx6- Use induction to prove the following identity for integers n1 - i-1.docx
6- Use induction to prove the following identity for integers n1 - i-1.docxCharles7AVDowdc
 
6- The gene for curled wings (C-c) is located nearly at the end of the.docx
6- The gene for curled wings (C-c) is located nearly at the end of the.docx6- The gene for curled wings (C-c) is located nearly at the end of the.docx
6- The gene for curled wings (C-c) is located nearly at the end of the.docxCharles7AVDowdc
 
6- It is Halloween evening and Nick and Rachel have just returned home.docx
6- It is Halloween evening and Nick and Rachel have just returned home.docx6- It is Halloween evening and Nick and Rachel have just returned home.docx
6- It is Halloween evening and Nick and Rachel have just returned home.docxCharles7AVDowdc
 
6- Is defined as the day-to-day experience of the employee and it comp.docx
6- Is defined as the day-to-day experience of the employee and it comp.docx6- Is defined as the day-to-day experience of the employee and it comp.docx
6- Is defined as the day-to-day experience of the employee and it comp.docxCharles7AVDowdc
 
5- Suppose that there are ten students in a classroom- a) What is the.docx
5- Suppose that there are ten students in a classroom- a) What is the.docx5- Suppose that there are ten students in a classroom- a) What is the.docx
5- Suppose that there are ten students in a classroom- a) What is the.docxCharles7AVDowdc
 
5- Trace the path of blood flow by considering movement of a hormone s.docx
5- Trace the path of blood flow by considering movement of a hormone s.docx5- Trace the path of blood flow by considering movement of a hormone s.docx
5- Trace the path of blood flow by considering movement of a hormone s.docxCharles7AVDowdc
 
6 points A system has 4 components A-B-C- and D- The structure of the.docx
6 points A system has 4 components A-B-C- and D- The structure of the.docx6 points A system has 4 components A-B-C- and D- The structure of the.docx
6 points A system has 4 components A-B-C- and D- The structure of the.docxCharles7AVDowdc
 
5-A) To the right- graph the demand and supply for the stock of Compan.docx
5-A) To the right- graph the demand and supply for the stock of Compan.docx5-A) To the right- graph the demand and supply for the stock of Compan.docx
5-A) To the right- graph the demand and supply for the stock of Compan.docxCharles7AVDowdc
 

More from Charles7AVDowdc (20)

8 Clusters of bile salts- digested lipids- and other nonpolar substanc.docx
8 Clusters of bile salts- digested lipids- and other nonpolar substanc.docx8 Clusters of bile salts- digested lipids- and other nonpolar substanc.docx
8 Clusters of bile salts- digested lipids- and other nonpolar substanc.docx
 
7-One of the most dramatic changes in connectivity and communications.docx
7-One of the most dramatic changes in connectivity and communications.docx7-One of the most dramatic changes in connectivity and communications.docx
7-One of the most dramatic changes in connectivity and communications.docx
 
7- What is the dominant generation of ALL vascular plants- Individuals.docx
7- What is the dominant generation of ALL vascular plants- Individuals.docx7- What is the dominant generation of ALL vascular plants- Individuals.docx
7- What is the dominant generation of ALL vascular plants- Individuals.docx
 
7- Match the following statements to the type of statement being used.docx
7- Match the following statements to the type of statement being used.docx7- Match the following statements to the type of statement being used.docx
7- Match the following statements to the type of statement being used.docx
 
7- (4) Poreevere with Problems Explain why you cannot describe the spe.docx
7- (4) Poreevere with Problems Explain why you cannot describe the spe.docx7- (4) Poreevere with Problems Explain why you cannot describe the spe.docx
7- (4) Poreevere with Problems Explain why you cannot describe the spe.docx
 
7- If we run a regression where the return on stock A is the dependent.docx
7- If we run a regression where the return on stock A is the dependent.docx7- If we run a regression where the return on stock A is the dependent.docx
7- If we run a regression where the return on stock A is the dependent.docx
 
7- Describe the functions of the following enzymes during DNA replicat.docx
7- Describe the functions of the following enzymes during DNA replicat.docx7- Describe the functions of the following enzymes during DNA replicat.docx
7- Describe the functions of the following enzymes during DNA replicat.docx
 
7- After graduation- you and 19 of your closest friends (lets say 10 m.docx
7- After graduation- you and 19 of your closest friends (lets say 10 m.docx7- After graduation- you and 19 of your closest friends (lets say 10 m.docx
7- After graduation- you and 19 of your closest friends (lets say 10 m.docx
 
7) Which of the following about Theia is false- A-) The Moon probably.docx
7) Which of the following about Theia is false- A-) The Moon probably.docx7) Which of the following about Theia is false- A-) The Moon probably.docx
7) Which of the following about Theia is false- A-) The Moon probably.docx
 
7) At Panther Company- materials are added at the beginning of the pro.docx
7) At Panther Company- materials are added at the beginning of the pro.docx7) At Panther Company- materials are added at the beginning of the pro.docx
7) At Panther Company- materials are added at the beginning of the pro.docx
 
6- What type of tissue comprises the hypodermis- 7- What effects the d.docx
6- What type of tissue comprises the hypodermis- 7- What effects the d.docx6- What type of tissue comprises the hypodermis- 7- What effects the d.docx
6- What type of tissue comprises the hypodermis- 7- What effects the d.docx
 
6- What is the difference between the proximal and distal epiphyses- 7.docx
6- What is the difference between the proximal and distal epiphyses- 7.docx6- What is the difference between the proximal and distal epiphyses- 7.docx
6- What is the difference between the proximal and distal epiphyses- 7.docx
 
6- Use induction to prove the following identity for integers n1 - i-1.docx
6- Use induction to prove the following identity for integers n1 - i-1.docx6- Use induction to prove the following identity for integers n1 - i-1.docx
6- Use induction to prove the following identity for integers n1 - i-1.docx
 
6- The gene for curled wings (C-c) is located nearly at the end of the.docx
6- The gene for curled wings (C-c) is located nearly at the end of the.docx6- The gene for curled wings (C-c) is located nearly at the end of the.docx
6- The gene for curled wings (C-c) is located nearly at the end of the.docx
 
6- It is Halloween evening and Nick and Rachel have just returned home.docx
6- It is Halloween evening and Nick and Rachel have just returned home.docx6- It is Halloween evening and Nick and Rachel have just returned home.docx
6- It is Halloween evening and Nick and Rachel have just returned home.docx
 
6- Is defined as the day-to-day experience of the employee and it comp.docx
6- Is defined as the day-to-day experience of the employee and it comp.docx6- Is defined as the day-to-day experience of the employee and it comp.docx
6- Is defined as the day-to-day experience of the employee and it comp.docx
 
5- Suppose that there are ten students in a classroom- a) What is the.docx
5- Suppose that there are ten students in a classroom- a) What is the.docx5- Suppose that there are ten students in a classroom- a) What is the.docx
5- Suppose that there are ten students in a classroom- a) What is the.docx
 
5- Trace the path of blood flow by considering movement of a hormone s.docx
5- Trace the path of blood flow by considering movement of a hormone s.docx5- Trace the path of blood flow by considering movement of a hormone s.docx
5- Trace the path of blood flow by considering movement of a hormone s.docx
 
6 points A system has 4 components A-B-C- and D- The structure of the.docx
6 points A system has 4 components A-B-C- and D- The structure of the.docx6 points A system has 4 components A-B-C- and D- The structure of the.docx
6 points A system has 4 components A-B-C- and D- The structure of the.docx
 
5-A) To the right- graph the demand and supply for the stock of Compan.docx
5-A) To the right- graph the demand and supply for the stock of Compan.docx5-A) To the right- graph the demand and supply for the stock of Compan.docx
5-A) To the right- graph the demand and supply for the stock of Compan.docx
 

Recently uploaded

भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
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
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonJericReyAuditor
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxAnaBeatriceAblay2
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 

Recently uploaded (20)

9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
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
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
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
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lesson
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 

8- Define an abstract class named animal that has properties of name-.docx

  • 1. 8. Define an abstract class named animal that has properties of name, brand and num_of_legs. This class has an abstract class named motion. Then define the following child classes: (i) A bird class where the motion method displays " "name" can fly"; (ii) A dog class where the motion method displays " "name" can run"; (iii) define a fish class where the motion method displays "" name" can swim"