I am making exactly the same Java program that is in this link:
Run-time Polymorphism in Java without "abstract"?
But I am having problems in the Main Application.
In my problem I have to ask the user to enter which types does he want(Bicycle,MountainBike,RoadBike).
And then I add what type he chose to an array of 5 indexes.
How can I do that?
Please give me some help.
Thanks in advance.