Java
Incapsularea Java
Clasa statică imbricată Java
C
C struct (Structuri)
Java Anonymous Class
C ++
C ++ atexit () - Biblioteca standard C ++