The commonly agreed answer to this interview question is that two objects are created by the code. But I don\'t think so; I wrote some code to confirm.
publi
I ran it in the Eclipse debugger. In that context, two objects are created, one with the id 17, the other 22: