im having a problem getting an abstract method to work, heres the code
abstract ImageIcon getPicture();
{
return picture;
}
When i compile the code i get the following error:
Appliance.java:30: return outside method
return picture;
Can anyone help me fix this?