I know how "intern" method of String works. But is there any practical / real life scenario where we will actually need to use intern method ? In that case is there any benefit of using intern over not using it ?
Or is it just a nice to have feature; only to be asked in interviews :)