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

Can you extend main method in java?

1121


Can we assign the reference to this variable?

935


What is replacefirst in java?

1049


What is cr keyboard?

1169


Explain features of interfaces in java?

950


What is finally in Java?

1031


What is java in detail?

1031


What are the three types of design patterns?

930


What is JFC?

1183


What is the difference between serializable and externalizable interfaces?

1045


What is keyword auto for?

1129


Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?

1043


Under what conditions is an object’s finalize() method invoked by the garbage collector?

996


Similarity and difference between static block and static method ?

888


Can we declare a class as abstract without having any abstract method?

966