0 votes
in JAVA by
What’s the use of static methods?

1 Answer

0 votes
by

What’s the use of static methods?

Static methods are used when there is no requirement of instantiating a class. If a method is not going to change or overridden then it can be made static.

Related questions

0 votes
asked Oct 13, 2020 in JAVA by SakshiSharma
0 votes
asked Oct 17, 2020 in JAVA by rahuljain1
...