giovedì 7 novembre 2013

Q44

Which two are true about Singletons?

A.
A Singleton must implement serializable.


B.
A Singleton has only the default constructor.         


C.
A Singleton implements a factory method.  


D.
A Singleton improves a class’s cohesion.     


E.
Singletons can be designed to be thread-safe.         


 

Risposta BE.


Riferimenti Q39

Nessun commento:

Posta un commento