0
Can we override the overloaded method?
non static method
2 odpowiedzi
+ 1
Yes you can override the overloaded method.
Overloading is when you define two methods with same name, in the same class, distinguished by their signatures.
Overriding is when you redefine a method that has already been defined in a parent class(using the exact same signature)
Overload is resolved at compile time.
Overriding is resolved at runtime
+ 1
here is an example that you may want to check to see difference or understand the meanings of overriding and overloading https://code.sololearn.com/c0awDMpDLukF/?ref=app