How many Java string objects created in the code String s="abc"+"xyz";?

Viewed 3091

How many Java string objects will be created in the following statement?

String s = "abc" + "xyz"; 

I guess three?

3 Answers
Related