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
How to make a read-only class in java?
What is externalizable?
What is command line argument
What if I write static public void instead of public static void in java?
How does indexof work?
What is data and its types?
Which class is used by server applications to obtain a port and listen for client requests?
How the interruptible method gets implemented?
What is the super void?
What is run time allocation?
What is string literal in java?
What is the synonym of procedure?
What is udp in java?
How to sort array in descending order in java?
How strings are created in java?