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

If x=2y+3 and 4x-5y=9, what is the value of y?
Three angels are labeled below with arcs. The smallest angel is 3/8 as large as the 160 degree angel. Find the value of angel a
There are 5 performers who will present their comedy acts this weekend at a comedy club. One of the performers insists on being the first stand-up comedy of the
find center,foci, and vertices of ellipse (x+3)^2/21+(y-5)^2/25=1
To the nearest tenth, what is the length of the hypotenuse of a right triangle if one side measures 4.5 meters and the other side measures 9 meters? 1) 10.1 met
What direction will a comet's tail point when going around the sun?
Finish each sentence below with two possible endings on the right.1.The light in her bedroom is on so...2.Tom and Liz never wear uniforms so...3.She isn't at sc
If the base of a triangle is four times it's height and if the area of the triangle is 242 square millimeters can you find it's base and height?
Who coined the term "conflict theory", and what does it stand for?
How would you describe the amplitude of a wave using the words crest and trough?