0 votes
in JAVA by
What is string in java?

1 Answer

0 votes
by

String is a sequence of characters, for e.g. “Hello” is a string of 5 characters. In java, string is an immutable object which means it is constant and cannot be changed once it has been created.

...