Singleton objects

suggest change

Introduction

An object is a special kind of class, declared with the object keyword. Objects are singletons, and they also play the role of the static part of a Java class. If you are coming from Java, use an object instead of a handwritten singleton or static members.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents