Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Can we do overloading in subclass? if yes then how we know that it is overloading or overriding ? Hint : in terms of resolution.

user-image
Question added by Mohd shahnawaz khan , Associate Project , Cognizant Technology Solution
Date Posted: 2013/10/24
Shannoy Panankoodan
by Shannoy Panankoodan , Business Technologist , Atos

Yes we can achieve both overriding and Overloading.

Overloaded methods would have different number and/or different data types.

Overridden methods would have the same datatype and same number of arguments.

More Questions Like This