+ 1

Can we overload the static method in java ?if yes then how?

3rd Oct 2019, 3:05 AM
Keyur Chaudhari
Keyur Chaudhari - avatar
4 Answers
+ 2
you can overload them normally, with same rules you cant override them though
3rd Oct 2019, 4:02 AM
Taste
Taste - avatar
+ 2
overloading is where you can have multiple method with the same name, as long as the return value or parameter(s) are different
3rd Oct 2019, 4:10 AM
Taste
Taste - avatar
+ 1
But how?
3rd Oct 2019, 4:05 AM
Keyur Chaudhari
Keyur Chaudhari - avatar
+ 1
Tysm
3rd Oct 2019, 4:12 AM
Keyur Chaudhari
Keyur Chaudhari - avatar