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 do you mean by classloader?
How do you convert boolean to boolean?
What does the “static” keyword mean?
How to sort an array in java without using sort method?
What is stringreader?
Which data type is a class in java?
What is flag in python?
What is independent and dependent variables in research?
How to implement an arraylist in java?
is it possible to instantiate the math class?
Difference between current previous versions of Java?
If you do not want your class to be inherited by any other class. What would you do?
Is hashset ordered?
What is a numeric digit?
Can we execute java program without main method?