Computer Science, asked by gshailesh97, 1 year ago

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 alisha7011
4

Answer:

w7tsjvsiptkhdh kbfhkr

Explanation:

t73oj5iheuy

Similar questions