Nikkio194 Nikkio194
  • 07-02-2024
  • Computers and Technology
contestada

Lets say there is a class called Student that extends a class called Person and we write:
Student s = .....;
Person p = (Person)s;
Is this up casting or down casting? will it work?

Respuesta :

Otras preguntas

I need help solving this
How did the three fifths compromise satisfy both the North and the South?
name five kinds of landforms caused by plate movement, help!!
Within the rising action of act 2 in Diary of Anne frank the play mr. Kraler tells the story about Carl, a man from Utrecht. Why does Carl's behavior make Mr. K
Consider five circles with a radii of 1, 2, 4, 8, and 16 inches. Write your answer in terms of pi r square. Compare the areas and circumference of a circle when
What are 3 causes of the boston tea party and 3 effecwhat are 3causes and effects of the boston tea party
The -------------- is a sheet of muscle that helps us breathe and it is situated just under the ribs and lungs.a. intercostalb. soleusc. obliqued. diaphragm
What is the solution to this problem? 5x-3y=6 and 2x-5y=10
What does A.D. Mean? Example 400 A.D.
Solve formula for x. 2bx - b = -5