Build the Model


In this lesson, we create an application package containing two application classes, one to represent the puzzle, and on to represent each cell. The Cell model contains properties that coorespond with the SK_CELLS_TBL. The puzzle model contains properties cooresponding the the SK_PUZZLE_TBL, and contains an array of 81 Cell Model instances.


  • Application Classes contain Properties, Instance Variables, and Methods.
  • Properties can use instance variables in the Getter and Setter methods
  • Methods can be Public or Private - Private methods can only be accesses from within this class
  • A Constructor method executes when an instance of the class is created (instantiate)
  • Constructor methods are named the same as the class name

Complete and Continue