thanks kedar.
I have tried it by placing constructor at last after all methods and the class is compiling fine.
So does it means that constructor need not to be placed first in class??
I am confused because at the time i read that constructor must be declared first, that time it was showing compiler error when constructor is placed after any method.
I am just getting confused what happened.......