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

How many objects are created when we create String class
object using new operator?

Answer Posted / naveen

Yes,two Objects will be created, First in Constant Pool and
second Object in Heap area of the Memory

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between notify and notifyall method?

1205


Can you declare the main method as final?

1006


What is a java lambda expression?

1042


What is string builder?

884


What is function and method in java?

943


Can I use % with real numbers?

1017


Explain the difference between the public, private, final, protected, and default modifiers?

1035


Explain oops concepts in detail?

1021


What is the definition of tree ?

1031


What about method local inner classes or local inner classes in java?

1045


What about static nested classes in java?

1131


Does java list allow null?

979


What is meant by oops concept in java?

985


What is string array?

1059


What is a flag and how does it work?

992