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

Is it possible to use string in the switch case?

1043


What is externalizable?

1061


Which is better list or arraylist in java?

868


What are encapsulation, inheritance and polymorphism?

1012


Can we serialize arraylist in java?

1009


Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?

1035


What is scope & storage allocation of static, local and register variables? Explain with an example.

1014


Explain about version control?

1037


What is the use of parse function in java?

981


What is the purpose of a parameter?

1074


How to create packages in java?

949


In the below example, how many string objects are created?

1047


What is the base class in java from which all classes are derived?

979


What is the difference between Error, defect,fault, failure and mistake?

1205


What is difference between equals and hashcode method?

1133