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

Which of the following statements is not true? Like Haydn and many other composers of the classical period, Beethoven was most successful financially when in th
Need some help with this equation, please help me! Answer the questions in the table below. Show all your work please and thank you!! a. Use special right trian
PLS HELP What pattern does this sentence follow? 1. Mom made Lauren a new dress. Subject--Verb Subject--Verb--Direct Object Subject--Linking Verb--Predicate Nou
what culture strongly influenced the culture of rome?
The mean monthly rent of students at Oxnard University is $890 with a standard deviation of $206. John's rent is $1,395. What is his standardized z-score?
You want to endow a scholarship that will pay $10,000 per year forever, starting one year from now. If the school’s endowment discount rate is 7%, what amount m
NEED HELP 10 POINTS
Sameena measures the angle from the ground to the top of a building from two locations. The angle of elevation from the first point is 45°, and the angle of ele
Studying the effect of one thing on another in order to test a hypothesis is a(n) ____.
What pattern does this sentence follow? The wrestlers shook hands after their match. Subject--Verb Subject--Verb--Direct Object Subject--Linking Verb--Predicate