Can anyone please explain to me exactly what happens internally when we compile and run the below code...
class ObjTest{
public static void main(String [] args){
while(true){
String str = new String("Hello");
}
}
}