Question: Which of the following would cause a syntax error? Select one: a. A sub class reference variable referencing an object of the sub class type

Which of the following would cause a syntax error? Select one: a. A sub class reference variable referencing an object of the sub class type b. A sub class reference variable referencing an object of the type of the sub class's super class c. A super class reference variable referencing an object of the super class type d. A super class reference variable referencing an object of the type of one of its sub classes e. If you think none of the above will cause a syntax error, select this option

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!