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...

whats string ?

Answer Posted / jayapala.pm

String is a collection of characters.
- In JAVA String is a wrapper class,String object can hold
the collection of characters.
- wrapper class is wrap the primitive value with in the
constructor is called wrapper classes.
- Strings are immutable in JAVA(we can't modify the string
object after initialize the value to object)
- String str = "greatJP"; we can assign value directly.This
option only for String class.
- Normally we will declare String str = new
String("GreatJP");

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does function identity () do?

960


How to split arraylist elements in java?

1171


How do you empty a list in java?

975


Why is static used?

1025


In the below example, how many string objects are created?

1046


What does void * mean?

1034


What is javac used for?

937


What does int [] mean in java?

1032


Which is better ascii or unicode?

994


How to sort array in descending order in java?

922


Can we inherit a class with private constructor?

1129


How do you clear a method in java?

1005


What is an example of a boolean?

1061


What restrictions are placed on method overloading?

1177


What is the purpose of skeleton and stub?

1239