Is there any reason for extending a class with an abstract class as well as implementing an interface?
Most of the time this seems like a hack instead of a solid design choice. For example implementing an interface like the following:
public interface exampleInterface {
String getField();
}
Aucun commentaire:
Enregistrer un commentaire