Singleton classes, if properly implemented, do not need to be declared final in order to not be extended. Since all the constructors of the singleton class are private, you can't extend that class. In fact, singleton classes are effectively final.stackoverflow
giovedì, gennaio 26, 2017
Singleton are effectively final
giovedì, gennaio 12, 2017
Iscriviti a:
Post (Atom)