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?

Answers were Sorted based on User's Feedback



strings in java are objects.why?..

Answer / 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

strings in java are objects.why?..

Answer / shankar

Strings in java are immutable i.e, not changable.It is
constant.
By,
Shanku

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More Core Java Interview Questions

How do you read and print a string in java?

0 Answers  


Where is jre installed?

0 Answers  


Can we extend private class in java?

0 Answers  


whst is encapsulation?when u encpsulate actually while devoloping code?

7 Answers   Amdocs, MGL,


What is run time polymorphism?

6 Answers   eClerx, Elementus Technologies,


What is class forname?

0 Answers  


What is the difference between Access Modifier and Access specifier?

1 Answers  


What is the do while loop syntax?

0 Answers  


What does file separator do in java?

0 Answers  


For which statements we use a label?

3 Answers   Wipro,


How do you test a method for an exception using junit?

0 Answers  


what is mean by overriding in which situation we wil use?

5 Answers   Atlas Systems, CSC, DCPL,


Categories