I've created an abstract class called Vehicle and have 2 sub classes: Motorcycle and Automobile. How can I create an instance of Motorcycle by using type Vehicle? So something like this:
Vehicle m=new Motorcycle();
I am able to access all properties of the Vehicle class but it is not seeing the properties of the Motorcycle class. Thanks