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 benefit of inner classes in java?

1078


Difference between nested and inner classes ?

1124


How to overcome the exception object reference not set to an instance of object?

1147


What is rule of accessibility in java?

1025


What is the significance of continue jump statement? Explain with an example.

1285


which pattern is default in scanner package?

2229


Which is easier netbeans or eclipse?

1058


What do u mean by variable?

1047


What is an array in java?

1193


What are thread safe functions?

946


Which variable is the independent variable?

977


Is space a character in java?

1006


What is the difference between state-based unit testing and interaction-based unit testing?

939


Which object oriented concept is achieved by using overloading and overriding?

1105


What is the longest unicode character?

1146