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

Is c better than java?

953


What is an association?

979


Add a value x to array from index l to r where 0 <= l <= r <= n-1

1089


What is cr keyboard?

1235


Why stringbuffer is faster than string?

1033


What is the use of accept () method in java?

1085


Tell me a few examples of final classes defined in Java API?

1087


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

1272


What is the primary benefit of encapsulation?

1080


How would you dynamically allocate memory to an array?

1034


What is type conversion in java?

1034


What is a superclass?

1342


Is set ordered?

972


What is nextint java?

1046


Does java map allow duplicates?

883