The 'var' keyword is missing

In reply to nainesh:

Obviously, there is something you are not showing us as the line you indicate reporting the error is not line 15 of your example.

Are you using packages? If so, where is the typedef in relation to the class definition?