SlideShare a Scribd company logo
1 of 1
2. Write a class named Student having two member functions named writeExam () and
submitAssignment (). Create two sub classes UnderGraduate and Graduate of Student class. Both
sub classes overrides all functions of Students class. Create the object of these classes and call
both methods using polymorphism concepts.

More Related Content

More from duane12345678

2018 Addifinoria biformation 1 The obly entry n the accumulaled deprec.docx
2018 Addifinoria biformation 1 The obly entry n the accumulaled deprec.docx2018 Addifinoria biformation 1 The obly entry n the accumulaled deprec.docx
2018 Addifinoria biformation 1 The obly entry n the accumulaled deprec.docxduane12345678
 
2-4-22 James Urton- University of Washington News -Mosquitoes appear t.docx
2-4-22 James Urton- University of Washington News -Mosquitoes appear t.docx2-4-22 James Urton- University of Washington News -Mosquitoes appear t.docx
2-4-22 James Urton- University of Washington News -Mosquitoes appear t.docxduane12345678
 
2-26 Find F-G- and H- and simplify-(c.docx
2-26 Find F-G- and H- and simplify-(c.docx2-26 Find F-G- and H- and simplify-(c.docx
2-26 Find F-G- and H- and simplify-(c.docxduane12345678
 
2-4-3 Suppose a 10-digit phone number is transmitted by a cellular pho.docx
2-4-3 Suppose a 10-digit phone number is transmitted by a cellular pho.docx2-4-3 Suppose a 10-digit phone number is transmitted by a cellular pho.docx
2-4-3 Suppose a 10-digit phone number is transmitted by a cellular pho.docxduane12345678
 
2--- 3-- How long do young chimps stay by their mothers' sides and wh.docx
2---  3-- How long do young chimps stay by their mothers' sides and wh.docx2---  3-- How long do young chimps stay by their mothers' sides and wh.docx
2--- 3-- How long do young chimps stay by their mothers' sides and wh.docxduane12345678
 
2- When an adult indicates a willingness to be bound by a contract she.docx
2- When an adult indicates a willingness to be bound by a contract she.docx2- When an adult indicates a willingness to be bound by a contract she.docx
2- When an adult indicates a willingness to be bound by a contract she.docxduane12345678
 
2- Thomas is single- His taxable income is $100-000- How much will he.docx
2- Thomas is single- His taxable income is $100-000- How much will he.docx2- Thomas is single- His taxable income is $100-000- How much will he.docx
2- Thomas is single- His taxable income is $100-000- How much will he.docxduane12345678
 
2- Suppose that quiz scores in a beginning statistics class have a mea.docx
2- Suppose that quiz scores in a beginning statistics class have a mea.docx2- Suppose that quiz scores in a beginning statistics class have a mea.docx
2- Suppose that quiz scores in a beginning statistics class have a mea.docxduane12345678
 
2- Sandoval needs to determine its year-end inventory- The warehouse c.docx
2- Sandoval needs to determine its year-end inventory- The warehouse c.docx2- Sandoval needs to determine its year-end inventory- The warehouse c.docx
2- Sandoval needs to determine its year-end inventory- The warehouse c.docxduane12345678
 
2- Let R-{(a-b)-(a-c)-(c-d)-(a-a)-(b-a)}- What is RR- the composition.docx
2- Let R-{(a-b)-(a-c)-(c-d)-(a-a)-(b-a)}- What is RR- the composition.docx2- Let R-{(a-b)-(a-c)-(c-d)-(a-a)-(b-a)}- What is RR- the composition.docx
2- Let R-{(a-b)-(a-c)-(c-d)-(a-a)-(b-a)}- What is RR- the composition.docxduane12345678
 
2- Manuel has saved $700-000 throughout his life of work- He is ready.docx
2- Manuel has saved $700-000 throughout his life of work- He is ready.docx2- Manuel has saved $700-000 throughout his life of work- He is ready.docx
2- Manuel has saved $700-000 throughout his life of work- He is ready.docxduane12345678
 
2- Label the elements as follows to identify the most likely place-tim.docx
2- Label the elements as follows to identify the most likely place-tim.docx2- Label the elements as follows to identify the most likely place-tim.docx
2- Label the elements as follows to identify the most likely place-tim.docxduane12345678
 
2- Find three examples of how protists are important for society- Desc.docx
2- Find three examples of how protists are important for society- Desc.docx2- Find three examples of how protists are important for society- Desc.docx
2- Find three examples of how protists are important for society- Desc.docxduane12345678
 
2- Construct a DFA to accept a language consisting of the set of all s.docx
2- Construct a DFA to accept a language consisting of the set of all s.docx2- Construct a DFA to accept a language consisting of the set of all s.docx
2- Construct a DFA to accept a language consisting of the set of all s.docxduane12345678
 
2- An investor deposits 1000 today into an account paying an APR of 4-.docx
2- An investor deposits 1000 today into an account paying an APR of 4-.docx2- An investor deposits 1000 today into an account paying an APR of 4-.docx
2- An investor deposits 1000 today into an account paying an APR of 4-.docxduane12345678
 
2- A random variable X has CDF FX(x)-0-x5(x+5)2-144-5x71-x7 Use the CD.docx
2- A random variable X has CDF FX(x)-0-x5(x+5)2-144-5x71-x7 Use the CD.docx2- A random variable X has CDF FX(x)-0-x5(x+5)2-144-5x71-x7 Use the CD.docx
2- A random variable X has CDF FX(x)-0-x5(x+5)2-144-5x71-x7 Use the CD.docxduane12345678
 
2- (L03) Determine the missing amounts-.docx
2- (L03) Determine the missing amounts-.docx2- (L03) Determine the missing amounts-.docx
2- (L03) Determine the missing amounts-.docxduane12345678
 
2- (2 points) What geological point did the engineers building the Ced.docx
2- (2 points) What geological point did the engineers building the Ced.docx2- (2 points) What geological point did the engineers building the Ced.docx
2- (2 points) What geological point did the engineers building the Ced.docxduane12345678
 
2- (50-) Baisc Programming (a) A Fibonacci sequence is one where every.docx
2- (50-) Baisc Programming (a) A Fibonacci sequence is one where every.docx2- (50-) Baisc Programming (a) A Fibonacci sequence is one where every.docx
2- (50-) Baisc Programming (a) A Fibonacci sequence is one where every.docxduane12345678
 
2) Madeline Jacobson was on a hike in the mountains during the winter.docx
2) Madeline Jacobson was on a hike in the mountains during the winter.docx2) Madeline Jacobson was on a hike in the mountains during the winter.docx
2) Madeline Jacobson was on a hike in the mountains during the winter.docxduane12345678
 

More from duane12345678 (20)

2018 Addifinoria biformation 1 The obly entry n the accumulaled deprec.docx
2018 Addifinoria biformation 1 The obly entry n the accumulaled deprec.docx2018 Addifinoria biformation 1 The obly entry n the accumulaled deprec.docx
2018 Addifinoria biformation 1 The obly entry n the accumulaled deprec.docx
 
2-4-22 James Urton- University of Washington News -Mosquitoes appear t.docx
2-4-22 James Urton- University of Washington News -Mosquitoes appear t.docx2-4-22 James Urton- University of Washington News -Mosquitoes appear t.docx
2-4-22 James Urton- University of Washington News -Mosquitoes appear t.docx
 
2-26 Find F-G- and H- and simplify-(c.docx
2-26 Find F-G- and H- and simplify-(c.docx2-26 Find F-G- and H- and simplify-(c.docx
2-26 Find F-G- and H- and simplify-(c.docx
 
2-4-3 Suppose a 10-digit phone number is transmitted by a cellular pho.docx
2-4-3 Suppose a 10-digit phone number is transmitted by a cellular pho.docx2-4-3 Suppose a 10-digit phone number is transmitted by a cellular pho.docx
2-4-3 Suppose a 10-digit phone number is transmitted by a cellular pho.docx
 
2--- 3-- How long do young chimps stay by their mothers' sides and wh.docx
2---  3-- How long do young chimps stay by their mothers' sides and wh.docx2---  3-- How long do young chimps stay by their mothers' sides and wh.docx
2--- 3-- How long do young chimps stay by their mothers' sides and wh.docx
 
2- When an adult indicates a willingness to be bound by a contract she.docx
2- When an adult indicates a willingness to be bound by a contract she.docx2- When an adult indicates a willingness to be bound by a contract she.docx
2- When an adult indicates a willingness to be bound by a contract she.docx
 
2- Thomas is single- His taxable income is $100-000- How much will he.docx
2- Thomas is single- His taxable income is $100-000- How much will he.docx2- Thomas is single- His taxable income is $100-000- How much will he.docx
2- Thomas is single- His taxable income is $100-000- How much will he.docx
 
2- Suppose that quiz scores in a beginning statistics class have a mea.docx
2- Suppose that quiz scores in a beginning statistics class have a mea.docx2- Suppose that quiz scores in a beginning statistics class have a mea.docx
2- Suppose that quiz scores in a beginning statistics class have a mea.docx
 
2- Sandoval needs to determine its year-end inventory- The warehouse c.docx
2- Sandoval needs to determine its year-end inventory- The warehouse c.docx2- Sandoval needs to determine its year-end inventory- The warehouse c.docx
2- Sandoval needs to determine its year-end inventory- The warehouse c.docx
 
2- Let R-{(a-b)-(a-c)-(c-d)-(a-a)-(b-a)}- What is RR- the composition.docx
2- Let R-{(a-b)-(a-c)-(c-d)-(a-a)-(b-a)}- What is RR- the composition.docx2- Let R-{(a-b)-(a-c)-(c-d)-(a-a)-(b-a)}- What is RR- the composition.docx
2- Let R-{(a-b)-(a-c)-(c-d)-(a-a)-(b-a)}- What is RR- the composition.docx
 
2- Manuel has saved $700-000 throughout his life of work- He is ready.docx
2- Manuel has saved $700-000 throughout his life of work- He is ready.docx2- Manuel has saved $700-000 throughout his life of work- He is ready.docx
2- Manuel has saved $700-000 throughout his life of work- He is ready.docx
 
2- Label the elements as follows to identify the most likely place-tim.docx
2- Label the elements as follows to identify the most likely place-tim.docx2- Label the elements as follows to identify the most likely place-tim.docx
2- Label the elements as follows to identify the most likely place-tim.docx
 
2- Find three examples of how protists are important for society- Desc.docx
2- Find three examples of how protists are important for society- Desc.docx2- Find three examples of how protists are important for society- Desc.docx
2- Find three examples of how protists are important for society- Desc.docx
 
2- Construct a DFA to accept a language consisting of the set of all s.docx
2- Construct a DFA to accept a language consisting of the set of all s.docx2- Construct a DFA to accept a language consisting of the set of all s.docx
2- Construct a DFA to accept a language consisting of the set of all s.docx
 
2- An investor deposits 1000 today into an account paying an APR of 4-.docx
2- An investor deposits 1000 today into an account paying an APR of 4-.docx2- An investor deposits 1000 today into an account paying an APR of 4-.docx
2- An investor deposits 1000 today into an account paying an APR of 4-.docx
 
2- A random variable X has CDF FX(x)-0-x5(x+5)2-144-5x71-x7 Use the CD.docx
2- A random variable X has CDF FX(x)-0-x5(x+5)2-144-5x71-x7 Use the CD.docx2- A random variable X has CDF FX(x)-0-x5(x+5)2-144-5x71-x7 Use the CD.docx
2- A random variable X has CDF FX(x)-0-x5(x+5)2-144-5x71-x7 Use the CD.docx
 
2- (L03) Determine the missing amounts-.docx
2- (L03) Determine the missing amounts-.docx2- (L03) Determine the missing amounts-.docx
2- (L03) Determine the missing amounts-.docx
 
2- (2 points) What geological point did the engineers building the Ced.docx
2- (2 points) What geological point did the engineers building the Ced.docx2- (2 points) What geological point did the engineers building the Ced.docx
2- (2 points) What geological point did the engineers building the Ced.docx
 
2- (50-) Baisc Programming (a) A Fibonacci sequence is one where every.docx
2- (50-) Baisc Programming (a) A Fibonacci sequence is one where every.docx2- (50-) Baisc Programming (a) A Fibonacci sequence is one where every.docx
2- (50-) Baisc Programming (a) A Fibonacci sequence is one where every.docx
 
2) Madeline Jacobson was on a hike in the mountains during the winter.docx
2) Madeline Jacobson was on a hike in the mountains during the winter.docx2) Madeline Jacobson was on a hike in the mountains during the winter.docx
2) Madeline Jacobson was on a hike in the mountains during the winter.docx
 

Recently uploaded

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
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
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
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
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
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
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
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
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
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
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
 

Recently uploaded (20)

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
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
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🔝
 
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
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
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
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
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
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
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
 

2- Write a class named Student having two member functions named write.docx

  • 1. 2. Write a class named Student having two member functions named writeExam () and submitAssignment (). Create two sub classes UnderGraduate and Graduate of Student class. Both sub classes overrides all functions of Students class. Create the object of these classes and call both methods using polymorphism concepts.