Error: 'Function' is not allowed before the Class definition

i was unsure about that, because following this tutorial by Rama, i didn’t see the function signature defined inside a class.