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 meant by binding in rmi?

956


What are the Class Libraries ?

999


What is the purpose of abstract class?

973


What is meant by class loader? How many types are there? When will we use them?

912


What is a nested list?

915


What is the longest unicode character?

1095


Can we override the overloaded method?

1054


What is character in data type?

918


What is jpa specification?

917


What is locale?

980


What is overloading and overriding in java?

1159


What are the advantages of exception handling?

1009


When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?

1190


What is the SimpleTimeZone class?

2207


What are the 7 types of characters?

1019