Aktiver Arbeitgeber
String str1="abc"; String str2="abc"; String str3=new String ("abc"); String str4=str1; How many memory allocation will be there.
Anonym
Explained, (heap memory alloc and string pool mem)
Total 2 one in heap and one in string pool
Verschaffe dir einen Vorsprung bei Chancen und Insider-Tipps, indem du deinem Traumunternehmen folgst.
Erhalte personalisierte Jobempfehlungen und Updates, indem du Suchanfragen startest.