Truck is a subclass of Vehicle, and neither of them is abstract. Which of the following is an invalid declaration and initialization?
Truck t = new Truck();
Truck t = new Vehicle();
Vehicle v = new Vehicle();
Vehicle v = new Truck();
All of the above are valid.
Answers
Answered by
4
Answer:
w7tsjvsiptkhdh kbfhkr
Explanation:
t73oj5iheuy
Similar questions
Political Science,
7 months ago
Business Studies,
7 months ago
Science,
1 year ago
Math,
1 year ago
Economy,
1 year ago