Yep I think so, i'm usually better with theory than practical at first.
Stacey
Type: Posts; User: SweetyStacey
Yep I think so, i'm usually better with theory than practical at first.
Stacey
Thanks for your help, I stayed up till 2am this morning and managed to get it done :) I did have to change the superclass to Animals instead of fruit..the fruit was just throwing me off lol.
...
I should add I know that the subclasses have to be in different files. For which I have got so far
package fruit;
public class Apple {
public...
Right..i've hit another brick wall #-o
Ok I know what I want to do in this program now...I want to have an abstract superclass named "Fruit" and have a few subclasses which are "Apple, Banana and...
Ok proved me wrong :P Thanks, i'll have a go :)
Stacey
Ok I think I understand it..but..the idea of a fruit superclass is odd. Might be just me but theres not a lot that can be done with fruit interfaces? I only got ripen for a method all fruit classes...
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:...