diff --git a/language/oop5/interfaces.xml b/language/oop5/interfaces.xml index b946538a2d..f549fad07c 100644 --- a/language/oop5/interfaces.xml +++ b/language/oop5/interfaces.xml @@ -1,6 +1,6 @@ - + Object Interfaces Object interfaces allow you to create code which specifies which methods a @@ -16,6 +16,11 @@ All methods declared in an interface must be public; this is the nature of an interface. + + Note that it is possible to declare a constructor in an interface, + what can be useful in some contexts, e.g. for use by factories. + <literal>implements</literal>