Loading...
Engaged employer
String str1="abc"; String str2="abc"; String str3=new String ("abc"); String str4=str1; How many memory allocation will be there.
Anonymous
Explained, (heap memory alloc and string pool mem)
Total 2 one in heap and one in string pool
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalised job recommendations and updates by starting your searches.
Get actionable career advice tailored to you by joining more bowls.
Check out your Company Bowl for anonymous work chats.