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
What is variable and rules of variable?
Is 0 true or false in java?
What is boolean example?
What is string and example?
When do you get classcastexception?
What happens if constructor is private?
What is instanceof keyword?
When arithmeticexception is thrown?
how can you catch multiple exceptions in java?
What are the differences between forwarding () method and sendredirect() methods?
What is the difference between == and === javascript?
Is oracle charging for java?
What is a class component?
Will the compiler creates a default constructor if I have a parameterized constructor in the class?
What are the differences between stringbuffer and stringbuilder?