![]() |
![]() |
![]() |
![]() |
![]() |
|
Following the conventions of good-programming practice, you precede the
definition of the Poster class with the definition of an interface:
public interface PosterInterface {
// Setter
public abstract void setImageFile (String fileName) ;
}
Evidently, all you can do to a poster is to call a setter that takes a
String instance naming a file containing an image.