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 do I get 64 bit java?

1212


What is * argv?

1310


Write code to implement bubble sort in java?

1047


Explain the overview of UDP messaging.

1172


What do you mean by ternary operator in java?

1065


What are the supported platforms by java programming language?

1086


Why set is used in java?

1066


What is the advantage of functional interface in java 8?

1046


What is the use of singleton?

1015


What is the list interface in java programming?

1171


Can we pass null as argument in java?

1002


Can a static method be final?

1107


What's a method in programming?

1154


What is the size of integer?

1150


What is the reflection?

1039