ghje2871 ghje2871
  • 07-02-2024
  • Computers and Technology
contestada

Let's say there is a class called Student that extends Person and we write:
Student s = new Student();
Person p = s;
//Person has instances such as name and ID
//Student has instances such as year and GPA
which of these objects will we be able to access if we use p?

Respuesta :

Otras preguntas

What is the y-intercept of the line described by the equation below Y=7x+4
Base word for Beautiful?? >> Help needed (:
A school has 10 classes with the same number of students in each class. One day, the weather was bad and many students were absent. 5 classes were half full, 3
Explain how to solve the equation 2(4x - 11) + 9 = 19
what is the expanded form of 1,022,004
The difference between the square roots of a number is 30. What is the number? Explain.
If I have a negative number to the second power, will the answer be negative or positive? I also have to do this to the third power, forth power, and fifth powe
What are some advantages and disadvantages of Greek geography.
How do I write 360,556 in expanded form
Round 5,890 to the nearest thousand