Of course, there are many ways.
- Use global variable
- Use singleton instance
- Create it in the main or some other function of one instance
- Create it as a member of a var instance of a single instance of an instance of an instance
etc. This is no different than any other question about trying to create one instance of a thing in your code.
1800 INFORMATION
source share