MATLAB Documentation for OOP
(For reference by students)


Class AppAction

Method Summary
  AppAction ( String )

          Constructor that takes in a string that represents what the action would do

  char ( )

          The string representation of the MStack

  execute ( )

          Executes the action

  undo ( )

          Undoes the action

 

Method Detail

AppAction

app = AppAction ( 'sleep' )

Creates an AppAction object app


Got comments\feedback\suggestions\complaints\anything whatsoever? Shoot the webmaster an email!

Website created & maintained by Shardul Bhatia and Wen Eu Cheah