Where are the slides or lecture video that actual shows the syntax to create our own classes? I do not have a link to a video for Level 10.
Can someone show me the correct syntax.
‘’’
class TameOrGame with number do
private property num to number
public method is_tame do
return num % 2 == 0
end
end
set game to TameOrGame(5)
log game.is_tame()
‘’’