Bravura Solutions interview question

1. Given an array, print the frequency of every number in the array. 2. Reverse a string without using extra space. 3. Explain how String class works & why strings in java are immutable?