Suppose there is a Car class that extends the Vehicle class and whose constructor takes in the “brand” and “year” parameters. What is the static type and dynamic type of the variable "lambo" in the following code? ``` Car lambo = new Car(“Lamborghini”, 2005); ```




© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.