Search Interview Questions | More than 3000 questions in repository. There are more than 900 unanswered questions. Click here and help us by providing the answer. Have a video suggestion. Click Correct / Improve and please let us know. |
|
| ||||
Interview Questions and Answers | ||||
| ||||
Ans. Classes having only static methods in java is called util classes. As they don't have specific object state, they are basically intend to have shared code and state through static elements and methods. They save resources by sharing code. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  util classes | ||||
Try 1 Question(s) Test | ||||
Related Questions | ||||
In which cases , moving methods to utility class could be useful ? | ||||
Name few Java util classes that were introduced with Java 7 ? | ||||
Name few Java Util classes introduced with Java 8 ? | ||||