« first day (838 days earlier)      last day (55 days later) » 

1:16 PM
Hahaha
Amused
leaves
 
user1804599
trunks
 
 
2 hours later…
2:50 PM
0
Q: Field injection of singleton class

Alexander GryankoI have interface: public interface DataStorage { boolean setData(String dataName); boolean unsetData(String dataName); Map getData(); } And his implementation: public class DataStorageImpl implements DataStorage { private Map dataMap = new HashMap<>(); public synchroni...

 
 
4 hours later…
6:56 PM
0
Q: Strange behaviour of singleton

Sparsh KhandelwalI assign the reference of singleton object to null. But still it is calling method of the Singleton class. Here is my code class Singleton { private static Singleton singleton = new Singleton(); /* * A private Constructor prevents any other class from instantiating. */ private Singleton()...

 

« first day (838 days earlier)      last day (55 days later) »