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
Get step-by-step solutions from verified subject matter experts
