1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
slamgirl [31]
3 years ago
14

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();
World Languages
1 answer:
madam [21]3 years ago
4 0

Answer:The variable card must be of type Card

Explanation:The reference has to be of the same type of the class. In this case, there are many diferent classes and the common one is Card, as all inherit from it.

You might be interested in
Among regional languages, _______ combines Hindi with Arabic script and is the official language of _______.
Marizza181 [45]
Hey there!!!
your answer is b, urdu, pakistan.
hope this helps!!!
5 0
3 years ago
Anyone help with russian please
dalvyx [7]

Answer:

use google translate

Explanation:

8 0
3 years ago
Moral Education
Karolina [17]

Explanation:

I hope this would helps you

8 0
2 years ago
Can someone create 3 sentences in Latin for me? I've already done half the work, you just need to write them using what words I'
Andreas93 [3]

Answer:

1: EGO got a maximus gradus in finales. (I got a maximus grade on the finals.)

2: Minores autem non permisit ad superius genus hominum ANDRON. (The minors aren't aloud in the upper-class men's hallway.)

3: Et elegit ad ut optimus respondere problema. (He chose as the optimus answer to the problem.)

I hope this is right...

Explanation:

4 0
3 years ago
Is thought a abstract noun?
AURORKA [14]
Yes, the noun 'thought' is an abstract noun<span> a word for something created in or held in the mind; a word for a concept. </span>

5 0
2 years ago
Read 2 more answers
Other questions:
  • How do you change a statement in American sign language to a question
    14·2 answers
  • What does merchandise mean<br><br>A.good<br>b.large items<br>c.shares of stock<br>d.jobs
    11·2 answers
  • What is Macchu Picchu?
    11·2 answers
  • Como se dice<br> ¿Pantufla o pantunfla?
    12·1 answer
  • Describe this manhattan image .
    14·1 answer
  • Could could the government ever justified relocating an entire ethnic group why or why not
    12·1 answer
  • 1. Redactează o narațiune de 150 – 250 de cuvinte, în care să prezinți o întâmplare petrecută în timpul unei activități preferat
    7·1 answer
  • ३. तल दिइएका धातुबाट क्रियापद निर्माण गर : बस्, दि, हु, रु, पढ्, बोलाउ, डुलाउ, खोक्, घोक्, हाँस​
    9·1 answer
  • I need a dialog about famous player​
    12·1 answer
  • to: Sa pamamagitan ng mga kaalaman na iyong nakuha sa ating talakayan at mga gawain tungkol sa ANTAS NG WIKA gumawa ka ng ISANG
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!