ප්රශ්නෙට උත්තරේ නම් ඕක තමයි මචං. උන් ඉල්ලන්නේ singalton pattern එක.
With the Singleton design pattern you can:
Ensure that only one instance of a class is created
Provide a global point of access to the object
Allow multiple instances in the future without affecting a singleton class's clients