Question d’entretien chez SIBS

How do you create a Singleton in Java? And in C++?