This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have no idea how to do and not sure whether you can use array in inheritance.
What i wanted to do is Eg. 5 Radio cars each one of them can only have 2 action either "F" "B" "L" & "R". I needed to use inheritance to save on the coding which it possiblely could, but not sure how to use array with it, so it store their action in the superclass, then execute the method in their subclasses [ November 23, 2004: Message edited by: Cougar Vissert ]