madashe6544 madashe6544
  • 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;
How can we make sure this down cast will not throw any exceptions?

Respuesta :

Otras preguntas

A recipe calls for 3/4 cup of sugar. How many cups of sugar are needed to make the recipe 8 times?
What's the area base of triangular prism?
When did the close-knit family structure change in America? A) the computer age b) the 21st century c) the civil war d) the industrial revolution
Please answer I really need help
NEED HELP ASAP WILL GIVE BRAINLIEST REAL ANSWERS ONLY PLZ WILL REPORT FAKE ANSWERS
do you make thoughtless remarks or accusations which you later regret?​
A short current element dl⃗ = (0.500 mm)j^ carries a current of 4.80 A in the same direction as dl⃗ . Point P is located at r⃗ = (-0.730 m)i^+ (0.390m)k^. Find
A data set is made up of the values 5, 6, 9, 12, and 18. The table shows the distance between each value and the mean of 10. Data value Distance between value a
7.5% of what number is 15? Help please
Hi I am Sara. Plz make me brainliest