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
Paano nakabubuo at nakawawasak ang wika?
Wittaler [7]

Answer:

Kahalagahan ng wika

1.Wika ang ginagamit natin sa pakikipagtalastasan. Sa pamamagitan nito ay naipapahayag natin ang ating saloobin at kaisipan. Sa pamamagitan din nito nalalaman natin kung ano ang gustong ipahiwatig ng ating kapwa. Nagkakaintindihan at nagkakaunawaan ang bawat isa sa pamamagitan ng paggamit ng wika.

2.Ang wika ay sadyang napakahalaga. Ito ang nagbubuklod sa bawat tao hindi lamang dito sa Pilipinas kundi maging sa mga ibang bansa rin.

3.Sa pamamagitan ng wika kaya nagkakaunawaan at nagkakaroon ng madaling komunikasyon ang bawat tao kundi pati na rin sa mga karatig bansa nito.

4.

Ang wika ay kaluluwa ng isang bansa at salamin ng lipunan

Sagisag ng pambansang pagkakakilanlan

Ang wikang pambansa ay siyang susi sa pagkakabuklod-buklod ng damdamin at diwa ng mga mamamayan

Sa pamamagitan ng mga salita nagkakaunawaan ang mga tao

5.Nakakapagkomunikasyon sa iba at nasasanay tayo sa gramatika

sa sarili

sa kapwa

sa lipunan

Explanation:

sana matulungan kita

6 0
3 years ago
Sa paggawa ng patalastas kailangang alamin kung_____​
grandymaker [24]

Answer:

hdhewkqlbnm,?

Explanation:

3 0
3 years ago
Geologic evidence shows that Earth's lithospheric plates can move thousands of kilometers across the Earth's surface. These move
serious [3.7K]

Answer:  c. occur gradually over millions of years.

Explanation:

Lithospheric plates exist under the surface of the earth that we see and form part of the earth's crust. They rest on the mantle which is very hot and as a result of this temperature, these plates are always moving.

These movements however occur gradually over millions of years which is why we do not notice it happening but these plate movements are very influential as they lead to the production of various land masses such as mountains when the movements lead to the plates colliding.

6 0
3 years ago
Which scenario is an example of defensive communication?
Ilya [14]

Answer:

its A

Explanation:

7 0
3 years ago
What is called "I eat rice" in nepali?
marusya05 [52]

Answer:

म भात खाउँछु

Hope this helps!!!!

Mark it as brainliest please!!!!

8 0
3 years ago
Read 2 more answers
Other questions:
  • Can someone translate "nauta malus vino in caprum iratum mutatur" for me? From Latin to English.
    6·2 answers
  • Who was the first person to go through as-sirat/shirath?
    11·1 answer
  • Scott Company had a current ratio of 2.76:1 in Year 1 and 2.57:1 in Year 2. This change in current ratio indicates that the
    10·1 answer
  • विलोम शब्द लिखिए Write the opposites (Antonyms) -
    10·1 answer
  • What is the difference between god and lord?​
    5·1 answer
  • A verbal or non verbal response
    12·2 answers
  • Which sentence uses the correct form of the verb? A. I is almost ready to go. B. I are almost ready to go. C. I am almost ready
    9·2 answers
  • Write the base word for the word division:
    7·1 answer
  • - ______________________________________________-
    11·2 answers
  • Risou no musume nara sekai saikyou demo kawaigatte kuremasuka
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!