Inheritance/Single: Difference between revisions

Content deleted Content added
m Restored alphabetical order
m →‎{{header|F_Sharp|F#}}: Nicer language name
Line 671:
 
 
=={{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() =