An interface defines a contract for an API, that is a set of methods that both implementer and user of the API agree upon. An interface does not ... ... <看更多>
The warning you get, is because you call an overridable method from your constructor. This is bad because subclasses may change the implementation of the ... ... <看更多>