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

Anyone can help me out plz
How many eggs are present in one mole of eggs?
In substance farming people generally grow
King Leopold second of Belgium was one of the European ruler to maintain a good relationship with the Africans true or false
jewels has 6.75 to ride the ferry around Connecticut m it will cost her 0.45 every time she rides. identify the dependent variable and independent variable in t
Select the correct answer. The probability of a student scoring 75% in class work is 0.64, and the probability of a student scoring 85% is 0.45. Event A: The s
A resistor with an unknown resistance in connected in parallel to a 12-ohm resistor. When both resistors are connected to a battery of 12 V, the current in the
Which part of Europe is most associated with Communist rule?A.) Western EuropeB.) The Nordic countriesC.) Central EuropeD.) Eastern Europe​
Do you guys know the answer for number 5
Which of these is the best way for your family to promote healthful eating choices A. Having fruit juices B. Having fresh produce C. having fried food on han