Results 1 to 3 of 3

Thread: what error in this programe

  1. #1
    Join Date
    Mar 2009
    Posts
    2

    Thumbs up what error in this programe

    2. Identify the problem within this snippet of Java/C# code. (This is not a trick question, there is a potential real problem in using this code)
    class Singleton{
    public static Singleton Instance() {
    if (_instance == null)
    _instance = new Singleton();
    return _instance;
    }
    protected Singleton() {}
    private static Singleton _instance = null;
    }

  2. #2
    Join Date
    Mar 2009
    Posts
    2

    Default

    noooooooo erroooooooooooorrrrrrrrrr and nobudy can find

  3. #3

    Default

    hmmmm,hmmmmmmm

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •