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 / koneti

yes, two Objects are created one Object is string constent
pool and second one is in heap memory

Is This Answer Correct ?    40 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is java thread dump, how can we get java thread dump of a program?

933


Can java list contain duplicates?

958


Is java pass by value or pass by reference?

923


Is it safe to install java on my computer?

1044


What is a blocking method in Java?

1131


What do you mean by platform independence? What is an interface?

981


What are the steps involved to create a bean?

1096


Can the garbage collection be forced by any means?

932


What are three advantages of using functions?

955


how to run ecllipse with jettyserver for windows environment using batch file

2004


What is a functional interface?

966


What is mean by encoding?

1020


Is integer immutable in java?

925


What is nested loop? What is dangling else condition in it?

1022


Which list does not allow duplicates in java?

874