I've posted previous thread about me just starting to learn Java programming and I've come to an exercise in my course textbook that I really can't understand what's to be done.
The exercise is: Create an abstract superclass named "Fruit" and a concrete subclass named "Apple" The superclass should belong to a package called "food" and the subclass can belong to the default package. Make the superclass public and give the subclass default access.
Now..I feel I understand bits of it but don't know how to put them together.
Can someone give me an example of what I have to do for that exercise and I will adapt it to fit it?
Thanks, Stacey