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
Is c better than java?
What is an association?
Add a value x to array from index l to r where 0 <= l <= r <= n-1
What is cr keyboard?
Why stringbuffer is faster than string?
What is the use of accept () method in java?
Tell me a few examples of final classes defined in Java API?
what is thread? What are the high-level thread states? : Java thread
What is the primary benefit of encapsulation?
How would you dynamically allocate memory to an array?
What is type conversion in java?
What is a superclass?
Is set ordered?
What is nextint java?
Does java map allow duplicates?