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]
4 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]4 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
The world Shall means it is not requirement for the application of a produre. True/ FALSE
MariettaO [177]
Well, it is both, it can be used like this; "You shall not pass" or it could be "you shall give me your ticket"
7 0
3 years ago
How many word can you make with the following letters
PIT_PIT [208]
Cat =1 
hats =2 
cats =3
mops=4
mop =5
lit =6
list =7
cakes = 8
cake =8
lips=9
lip=10
tips=11
tip=12
6 0
3 years ago
Read 2 more answers
क्षेपणास्त्रा meaning ​
Irina18 [472]

Answer:

Hi there

Explanation:

the word that you asked means syphany

4 0
4 years ago
Tukuyin kung anong barayti ng wika ang mga sumusunod na pahayag
Tom [10]

Answer:

Ang una at ikalima ay filipino, habang ang pangalawa hanggang ikaapat na pahayag sa listahan ay Ingles na may impit na filipino.

Explanation:

Ang pagsusuri ng mga accent ay isang mahusay na paraan ng pagtukoy ng pinagmulan ng isang indibidwal. Ang accent ay nagsasalita ng isa pang wika na may salitang istraktura at tuntunin ng syntax ng aktwal na katutubong wika ng isang indibidwal. Ang isang Filipino na nagsasalita ng Ingles ay hindi magagawang bigkas ng titik na 'r' ayon sa nararapat.

8 0
3 years ago
The statue of david by michelangelo is found in
vovangra [49]

Answer:

Galleria dell'Accademia

Explanation:

4 0
4 years ago
Read 2 more answers
Other questions:
  • I really need help so much
    15·2 answers
  • English sentences to asl structure
    11·1 answer
  • Theories that focus on the aesthetic relationship between parts within a work are known as __________ theories.
    14·1 answer
  • Which word means gloomy or depressed?
    15·1 answer
  • What language is this? Привет, люди, надеюсь, у вас все хорошо сегодня, добро пожаловать за очки
    7·2 answers
  • What is the best way to learn Japanese.<br>*Please don't answer Irrelevantly*​
    11·2 answers
  • Coloca en el paréntesis A si es AGUDA, G si
    8·1 answer
  • Danica wrote the following sentences. Her teacher told her that she had an inappropriate shift in verb tenses. Danica is not sur
    10·2 answers
  • From the above figure which one is correct
    9·1 answer
  • Is anyone here army of bts ,and blink of black pink?? who like k-pop why are you liking them off ?? what is their best solo cove
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!