A singleton (design pattern) is roughly defined as: restricting the instantiation of state to a single instance (for object-oriented languages, an object).
確定! 回上一頁