Harikrishna Gorrepati, It won't compile. Which compiler you are using? And the reason, you can't change the return type when overriding. But, for overloading, it's not enough to change only the return type.
You should change the signature of the method!
Thanks!