subject
World Languages, 29.08.2019 18:30 ash011519

Valentine, holiday, and birthday inherit from the class card. in order for the following code to be correct, what type must the reference variable card be? card = new valentine( "a", 14 ) ; card. greeting(); card = new holiday( "b" ) ; card. greeting(); card = new birthday( "c", 12 ) ; card. greeting();

ansver
Answers: 3

Another question on World Languages

question
World Languages, 25.06.2019 12:00
Si besarte fuera pecado, caminaría feliz por el infierno.
Answers: 1
question
World Languages, 25.06.2019 13:30
Cuvinte care au sens comun cu cuvantul zapada
Answers: 1
question
World Languages, 26.06.2019 00:30
How i can have a strong character in the drama class , people me
Answers: 1
question
World Languages, 27.06.2019 05:00
What does it mean when you say i love you
Answers: 2
You know the right answer?
Valentine, holiday, and birthday inherit from the class card. in order for the following code to be...
Questions
question
Mathematics, 20.10.2021 02:20
question
Social Studies, 20.10.2021 02:20
question
Medicine, 20.10.2021 02:20
question
English, 20.10.2021 02:20
Questions on the website: 13722367