Answer the question
In order to leave comments, you need to log in
What is an example of the standard library where String is used?
At one of the interviews, they asked a rather unusual question that drove me into a stupor =) You can get an example of the standard library where it is used from your head. String. And collections - HashMap, HashSet . Since I am a novice developer, I did not answer this question. When I started to google it, I did not find direct answers to it either. Tell me please)
Answer the question
In order to leave comments, you need to log in
You somehow misunderstood the question, for sure. Java has only one standard library, and the String class is part of it.
String is pretty simple. StringBuilder and StringBuffer immediately come to mind.
HashMap is used in HashSet (i.e. HashSet is a "truncated" HashMap).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question