Search:

Type: Posts; User: StanTheMan

Search: Search took 0.10 seconds.

  1. "Trying to understand question from java exam prep book"

    class SafeDeposit {

    private static SafeDeposit singleton;

    public static SafeDeposit getInstance(int code) {

    if(singleton == null)
    singleton = new SafeDeposit(code);
    ...
  2. "Help with answer to question from java 6 practice exam book!

    "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...
  3. Replies
    3
    Views
    869

    Re: Struggling with answer to question

    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?
  4. Replies
    3
    Views
    869

    Struggling with answer to question

    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...
Results 1 to 4 of 4