Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

when i write
string s1="java";
in one program(application) and
string s2="java";
in another application
on the same jvm will both objects s2,s2 will refer to same
memory location where "java" is stored
in string pool.

Answer Posted / tj

Yes,They will refer to same memory location..

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do heavy weight components mean in java programming?

953


What is array sorting in java?

1060


What is primitive array?

902


What all access modifiers are allowed for top class ?

1187


What is the difference between the file and randomaccessfile classes?

1099


What types of index data structures can you have in java?

1236


Is integer a class?

1083


What is abstraction in java?

1093


Why java is considered as platform independent?

1005


What do you mean by mnemonics?

1052


What is difference between path and classpath?

1176


Why collection is called framework in java?

991


How many bits is a float?

1011


if u open login & logout ,how can udisplay the timelogin & logout members ?

2285


What is the difference between path and classpath variables?

1056