Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   Java (http://siteownersforums.com/forumdisplay.php?f=12)
-   -   How many objects will be created in the following code? (http://siteownersforums.com/showthread.php?t=348788)

Pavan Techn 05-29-2018 08:48 AM

How many objects will be created in the following code?
 
String s1="Welcome";
String s2="Welcome";
String s3="Welcome";
Only one object.


All times are GMT -7. The time now is 05:03 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.