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...

suppose string s1="rajnish";
string s2="bhaskar";
then what will be happend ?

Answer Posted / ravi jain

2 new string objects will be created in String pool area in JVM.

String are immutable that why they are stores in

different area in JVM

as in case of final variables.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the synonym of procedure?

1124


What are three advantages of using functions?

1011


What is a classloader in java?

1023


What is java util list?

961


What do heavy weight components mean in java programming?

953


What’s the difference between applets and standalone program?

1049


What does int [] mean in java?

1036


What is the purpose of using java.lang.class class?

1016


What is difference between calling start() and run() method of thread?

1132


Which package is always imported by default?

1101


Can we execute a program without main() method?

1040


What are filterstreams?

1077


how to open and edit XML file in Weblogic???

1973


What is an immutable class?

1142


What is meant by main method?

1064