Sample example for class