Sort:  

A creative usage of a post, indeed!

You can find the correct answer on wikipedia, or in a book about design pattern, if you can afford it (like the GOF)

A singleton is basically a globally unique instance of a class.

The class must be written so that it isn't possible to create new instances; instead, the only thing you can do is to take the only instance of that class. You must also disallow copying, or destroying, the instance.

The pattern part refers to how you actually implement such a thing in a language, a sort of recipe which you can use to achieve the goal.

thx what type of programmer you are ? game programmer ? or web programmer ? android programmer ? or something else ?

I mainly do back-end stuffs; no game, no web, no android: servers which provide services/API which aren't exposed in the wild.

Coin Marketplace

STEEM 0.15
TRX 0.15
JST 0.028
BTC 53807.82
ETH 2237.98
USDT 1.00
SBD 2.30