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

Which function has a greater rate of change?
How many grams of nacl are in 750 ml of 1/2 ns? (answer must be numeric; no units or commas; include a leading zero when answer is less than 1.)?
Simplify 8(x - 4). 8x - 4 x - 32 8x - 32 x - 4
what came to an end due to world war 1​
Ram covers distance of zoom in 50 seconds what is his speed​
What is the slope of the line that passes through the points (-5, -5) and (6, – 9)? Will give brainliest pls answer immediately!
follow me if your in 5th grade cause i am
Daguio corporation uses direct labor hours in its predetermined overhead rate. at the beginning of the year, the total estimated manufacturing overhead was $224
Practice using the picture, create a haiku poem. (5) (7)
The Twelve Tables were _____. a series of formulas a dining hall for diplomats a code of law