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 / p.sreekiran

in first string class it create in heep memory and second
is created object in constant memeory we cannot change the
second one

Is This Answer Correct ?    2 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create com object in Java?

1008


What is fail first in java?

1075


Is zero a positive integer?

983


What is immutability in java?

1028


What is identifier with example?

991


Can you pass by reference in java?

935


Is this valid in java ? Can we instantiate interface in java?

920


why Interface used?

943


Explain different types of thread priorities ?

1035


Can we call the constructor of a class more than once for an object?

1040


What is a cup of java?

975


Does chrome use java?

907


What advantage do java's layout managers provide over traditional windowing systems?

908


Name four container classes.

928


what are the high-level thread states? : Java thread

946