A pretty basic question I think....
In large projects with multiple classes and code modules, for objects such as XUI & JFX, is it better for...
a) all classes/modules to share a single instance declared in one place as Public,
b) each class/module to have its own Private instance declared,
c) or does it make little/no difference?
Thanks.
In large projects with multiple classes and code modules, for objects such as XUI & JFX, is it better for...
a) all classes/modules to share a single instance declared in one place as Public,
b) each class/module to have its own Private instance declared,
c) or does it make little/no difference?
Thanks.