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.

Related questions

0 votes
asked Oct 20, 2020 in JAVA by sharadyadav1986
0 votes
asked Mar 16, 2021 in JAVA by Robindeniel
...