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

how to create constants in java?

1077


How can we pass argument to a function by reference instead of pass by value?

1107


What is a jit compiler?

1128


How to sort a collection of custom Objects in Java?

1050


Write a program to solve producer consumer problem in java?

1002


What function extracts specified characters from a string?

994


Why are global variables used?

1012


What causes memory leak in java?

929


Why hashmap is used in java?

1080


How do you calculate square roots?

1155


What is the maximum size of list in java?

957


Explain working of call by reference function invoking.

1018


Can constructor be inherited?

1030


How do I stop concurrentmodificationexception?

1024


What is function and method in java?

943