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

1).what is the difference between below examples

String s="vijay";

String s=new String("vijay");

Answer Posted / ramya

as kiran said in the first answer that the string created
in the heap memory can be changed,is it that the memory in
the heap can be changed.I read it as heap provides a stable
storage.Please clarify.Thanks in advance.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the final method?

1117


Why is singleton not thread safe?

1100


What is the difference between actual and formal parameters?

995


What is the difference between the font and fontmetrics classes in java programming?

1249


What is passing by reference in java?

1069


What are the three types of design patterns?

1012


What do you mean by mnemonics?

1107


What is defined as false sharing in the context of multithreading?

1083


Explain the significance of class loaders in bootstrap?

1011


What is native method in java?

1117


What are different types of states exist for a thread?

1052


What is t in generics in java?

1132


Is list ordered in java?

1022


How can u increase the heap size in the memory?

1067


Can we override private constructor in java?

1030