Pergunta de entrevista da empresa PTC

Ways to hack a singleton class in Java ? (Create multiple instances)

Resposta da entrevista

Sigiloso

23 de fev. de 2017

Reflection and multiple class loaders were not accepted as answers, but deserialization and serialization was accepted as answer, only to be followed by a question related to making Singleton class un-hackable.