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

The warming of the climate at the end of the Ice Age did not affect the move to Mesopotamia.
How do archaeologist help to uncover secrets
What other careers did Hemingway have besides being a novelist?
what is 20.06 rounded to the nearest tenth
"defend the importance of science literacy from someone that doesnt want to learn science""compare and contrast science with pseudosience"
"what is the area of a square if each edge of the square has a length of 3a^3"
Why did HARRIETT BEECHER STOWE'S UNCLE TOM'S CABIN INFURIATE THE SOUTH?
•identify five unique beliefs or practices that Buddhists bring into their daily life
can you help me understand this?  In the number 7,725, which places contain digits where one digit is ten times as great as the other?
Vaccines are effective in preventing disease because they