String in Java

In this article, we are going to learn about strings in java. A string is a sequence of characters, in java string is an object which represents a sequence of characters. An array of character works the same as a string. strings are immutable in java. In java every character is stored in 16-bits. char[] … Read more