What does “implements” do on a class?

前端 未结 7 804
抹茶落季
抹茶落季 2020-12-22 18:51

If a class implements another class... what does that mean? I found this code sample: http://www.java2s.com/Code/Php/Class/extendsandimplement.htm

But unfortunately

7条回答
  •  一整个雨季
    2020-12-22 19:13

    It is called an interface. Many OO languages have this feature. You might want to read through the php explanation here: http://de2.php.net/interface

提交回复
热议问题