What is the use of utility class in Java?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Works at the International Criminal Court, Lives in The Hague, Netherlands.
utility class is a class that defines a set of methods that perform common, often re-used functions. ... Examples of utility classes include java.util.Collections which provides several utility methods (such as sorting) on objects that implement a Collection (java.util.collection).
2023-05-06 12:30:14
评论(499)
Helpful(122)
Helpful
Helpful(2)

Ethan Walker
QuesHub.com delivers expert answers and knowledge to you.
utility class is a class that defines a set of methods that perform common, often re-used functions. ... Examples of utility classes include java.util.Collections which provides several utility methods (such as sorting) on objects that implement a Collection (java.util.collection).