I've been reading up on singletons recently and I commonly see code like:
private static SingletonDemo instance = null;
Inside the Singleton class as a field.
I don't want particularly understand what 'static' is doing and why it's needed.
I read the Oracle site here. And they use a numOfBicycles (which is when you have multiple bicycles) example to justify using a static field, but I think I'm understanding something on why it's used when you're just instantiating 1 instance. 
 
     
     
     
     
     
     
     
    