PHP:Define a Class

From Progzoo
Revision as of 16:45, 13 February 2009 by 08011145 (talk | contribs)
Jump to: navigation, search

The class Person has

  • a constructor: __construct
  • attributes name, weight and height
  • a method: bmi


[Font] [Default] [Show] [Resize] [History] [Profile]