Overloading and Overriding
‘Overloading’ and ‘Overriding’ is yet another crucial concept which is part of the ‘Java SE Programmer I’ exam. This concept like the other concepts of core Java, are important from a developer’s standpoint as well as for the certification exam. We will first discuss overloading and then move onto overriding. Overloading: ‘Overloading’ as the name suggests is done by creating multiple methods with same name – but with different argument lists, return type and access modifier. Out of the three points mentioned, it is important to note that a method is considered overloaded ONLY when it has a different argument […]
Overloading and Overriding Read More »