Can class object call static method?

A static method, by definition, is called on a class and not on an instance of that class.

Leave a Reply

Your email address will not be published. Required fields are marked *

Can class object call static method?

A static method, by definition, is called on a class and not on an instance of that class.

Leave a Reply

Your email address will not be published. Required fields are marked *