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

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

Respuesta :

Otras preguntas

A cylinder has a radius r and a length l. if the radius were to double and the length were to stay the same, by what factor would the surface area change?
1. Es barato. la casa ideal la casa del anuncio el apartamento del anuncio 2. Tiene cuatro alcobas. la casa ideal la casa del anuncio el apartamento del anunci
Which choice is the most efficient first step to solve this set of equations? y=3x-5 and 2x+6y=20
Which word set completes the following analogy? misplace : regain :: join : connect light : ignite retain : release found : establish
Name a US-based international company. Share with the class the ways this company is affected by a global market, including the international trade system, exch
Describe how the building blocks of society--norms, values, statuses, and roles--affect your life. More specifically, how do these social elements (or social fa
"The burning of fossil fuels and ___________ from nuclear power provide about 87% of the energy used in the world."
Jeff walked 8.84 miles at an average speed of 3.4 miles per hour then he walked for an additional 1.6 hours at the same speed how many hours did Jeff walk in al
How to convert 264 yds/1 s to mi/day?
How do people in Canada adapt to their environment ?