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
Which three words from the passage contain a suffix?
emmainna [20.7K]

Answer:

actually

refracted

person's

6 0
2 years ago
Read 2 more answers
Read the excerpt from The Story of My Life by Helen Keller. She had read his account of Laura Bridgman, and remembered vaguely t
Leviafan [203]

Answer:

"But she also remembered with a hopeless pang that Dr. Howe, who had discovered the way to teach the deaf and blind, had been dead many years."

Explanation:

Imagery is a literary jargon which means describing something in great detail in a way that the characters, emotions are so real you can almost reach out and touch them.

The excerpt above shows the use of imagery to describe the emotion that Laura Bridgeman was feeling when she recalled the death of Dr Howe.

6 0
3 years ago
Read 3 more answers
But, in a larger sense, we cannot dedicate – we cannot consecrate – we cannot hallow this ground. The brave men, living and dead
stiks02 [169]
The sacrifices of soldiers have already made the land scared.
Hope this helps you
4 0
3 years ago
Read 2 more answers
Role of attitude in initiating and building sustainable relationship
Mariana [72]

<span>Through the evaluation of attitude, the person will know how to respond by understanding his perception towards things. It is important that a person is aware if his attitude to be able to get awareness in other attitudes he will encounter in the future as well.</span>

5 0
3 years ago
Then when veeru kon bayakah Hana kuri boova meeree?<br> I like the taste of boova lol
Darya [45]

Answer:

ahchiii DISGUSTING bouva bluhhhhhhhhhh

3 0
3 years ago
Other questions:
  • Suggest 8 practical solutions on how youth risk behaviour can be addressed or prevented
    7·2 answers
  • 4 points
    12·1 answer
  • Na kwa vina taila na mahima​
    13·2 answers
  • Two functions of the TAC TREATMENT ACTION CAMPAIGN
    6·1 answer
  • Que implicações têm o novo acordo ortográfico para os países da CPLP?
    9·1 answer
  • plz need you help! Use the definition to complete the missing syllables of the spelling word. To be con__ is to be very brief.
    13·1 answer
  • Ano ang crying out loud sa tagalog
    8·1 answer
  • Can someone help me with this?
    14·2 answers
  • I____matt for a long time.when I last saw him,he was trying to find a job.
    8·2 answers
  • If you are a US citizen, you are able to vote in a presidential election starting at the age of
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!