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

strings in java are objects.why?

Answer Posted / modi

In Java strings are objects designed to represent a sequence
of characters. Because character strings are commonly used
in programs, Java supports the ability to declare String
constants and perform concatenation of Strings directly
without requiring access to methods of the String class.
This additional support provided for Java Strings allows
programmers to use Strings in a similar manner as other
common programming languages.
A Java String is read-only and once created
the contents cannot be modified.

Is This Answer Correct ?    14 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is variable and rules of variable?

1064


Is 0 true or false in java?

1029


What is boolean example?

1016


What is string and example?

1097


When do you get classcastexception?

1069


What happens if constructor is private?

1070


What is instanceof keyword?

1260


When arithmeticexception is thrown?

1069


how can you catch multiple exceptions in java?

1061


What are the differences between forwarding () method and sendredirect() methods?

1144


What is the difference between == and === javascript?

1245


Is oracle charging for java?

1075


What is a class component?

1218


Will the compiler creates a default constructor if I have a parameterized constructor in the class?

1163


What are the differences between stringbuffer and stringbuilder?

1109