class SafeDeposit {
private static SafeDeposit singleton;
public static SafeDeposit getInstance(int code) {
if(singleton == null)
singleton = new SafeDeposit(code);
...
Type: Posts; User: StanTheMan
class SafeDeposit {
private static SafeDeposit singleton;
public static SafeDeposit getInstance(int code) {
if(singleton == null)
singleton = new SafeDeposit(code);
...
"Hi When faced with this question, I really gave up trying to work out what was going on and have given up in despair!
Can you explain whats going on?
Line 3 The 'singleton' identifier was very...
Hi Norm,
I have posted a copy of the code and asked the questions, can you not see it I see it on my post?
2477When faced with this question, I really gave up trying to work out what was going on after about 6 minutes or so in despair!
Can you explain from a different angle whats going on?
L3 The...