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 do you understand by a Static Variable?

1148


What is <> used for in java?

1081


What is the difference between the paint() and repaint() methods in java programming?

1138


When do we use synchronized blocks and advantages of using synchronized blocks?

1178


What is a method signature java?

994


Is set ordered in java?

949


Explain the overview of UDP messaging.

1087


what is meant wrapper classes?

1109


What is bytecode in java ?

1133


What does isempty () do in java?

1008


Explain restrictions on using enum?

1025


What are the basic control structures?

937


Explain inheritance in java?

937


Is nullpointerexception checked or unchecked?

978


How do you classify Dialog Box?

1070