Inheritance/Single: Difference between revisions

→‎{{header|F#}}: Corrected header as suggested on the Count examples/Full list/Tier 4 talk page
m (→‎{{header|Phix}}: added syntax colouring, marked p2js incompatible)
(→‎{{header|F#}}: Corrected header as suggested on the Count examples/Full list/Tier 4 talk page)
Line 647:
}</lang>
 
=={{header|F_Sharp|F#}}==
The <code>()</code> behind the class names indicates a public default constructor; you need some type of public constructor to derive from a class.
<lang fsharp>type Animal() =
3,021

edits