String str="helloworld"; String str1=new String("helloworld"); String str2=new String("helloworld"); How many objects are created in above java code and could you please explain it?
![]() |
String str="helloworld"; String str1=new String("helloworld"); String str2=new String("helloworld"); How many objects are created in above java code and could you please explain it?
| All times are GMT -7. The time now is 05:16 AM. |