Sealed classes and methods: Difference between revisions
Content added Content deleted
(→{{header|Go}}: Now uses the C entry's idea of passing a type identifier.) |
m (→{{header|C}}: Added return value.) |
||
Line 60: | Line 60: | ||
watchMovie(&c1.p, CHILD); |
watchMovie(&c1.p, CHILD); |
||
watchMovie(&c2.p, CHILD); |
watchMovie(&c2.p, CHILD); |
||
return 0; |
|||
}</syntaxhighlight> |
}</syntaxhighlight> |
||