Зміст курсу
C# Beyond Basics
C# Beyond Basics
Derived Classes Practice
A class called Vehicle
is given. Apart from that there are two other classes called Car
and Plane
.
There is currently an error in the code. To fix the error you need to make the Car
and Plane
inherit from Vehicle
.
Edit the code such that Car
and Plane
become the child classes of Vehicle
.
index
Все було зрозуміло?