Query related to automatic task in class

In reply to mukul1996:

Yup. The class is dynamic; methods will be automatic by default. If you declared it inside a module, it would have been static and we would have had to make them automatic.