[Solved] what is static method why use this in Display class in java [duplicate]

[ad_1]

Static methods are those methods can be called without creating its object.
It can be invoked using its class name.

Eg. Math.sqrt(25);

Where Math is the class name, not an object and static methods can access only static properties of the class.

[ad_2]

solved what is static method why use this in Display class in java [duplicate]