Inheritance/Multiple: Difference between revisions
Content added Content deleted
(Added PowerShell) |
|||
Line 344: | Line 344: | ||
type Camera = |
type Camera = |
||
abstract takePicture : unit -> Picture |
abstract takePicture : unit -> Picture |
||
// an interface that inherits multiple interfaces |
|||
type Camera2 = |
|||
inherits System.ComponentModel.INotifyPropertyChanged |
|||
inherits Camera |
|||
// a class with an abstract method with a default implementation |
// a class with an abstract method with a default implementation |