Java Singleton Pattern

  • + 1 comment

    I think you forgot that str instance string. See the requirements. That's something they use to test this. IDK how.