faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 3 people (67%) answered Yes
Recently 2 of 3 people (67%) answered Yes

Entry

What should you add to a class definition if you want to make it inherit functionally from another class

Mar 22nd, 2008 21:13
ha mo, Himanshu Jain,


For a class to inherit from another it must be declared with the 
extends keyword and the name of the class from which you want to 
inherit;
Class funkyPoint extends Points
      {
      }
http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.yamot.com
http://www.mozmar.com
http://www.templatestemp.com