It will depend on business. Before starting the coding, we need to analyze the business. Then we can get idea that we need to take static or instance. In class how we are following the steps to create static method, same steps we need to follow in interface.
Fantastic vdos sir.
Thank You.
Happy ugadi sir
Hi sir.. can u explain.. when can we declare static methods inside the interface ?
If we declare static methods what steps we need to follow ?
It will depend on business. Before starting the coding, we need to analyze the business. Then we can get idea that we need to take static or instance.
In class how we are following the steps to create static method, same steps we need to follow in interface.