The static methods can be called by using the class name, which they belong to instead of creating an object. Syntax: className. staticMethod();
Read moreThe static methods can be called by using the class name, which they belong to instead of creating an object. Syntax: className. staticMethod();
Read more