Design Properties and Methods

por | 15 abril, 2007


  • Properties ( URL, TITLE, DESCRIPTION)
  • Methods (Create, Display)

Create Construction Function

  • CONSTRUCTOR – Its a special function designed to create an instance of an object
  • May or may not containg variables used to initialize the object
  • Uses the “this” keyword to reference the current instance of the object

Develop Methods

  • functions that change the state of the data or use data to perform some sort of action
  • written as normal functions which may or may not containg arguments and return values