What are the types of operation executed with string data? What are the types of operation executed with string data?
Answers
Answered by
3
The most common operation that we perform on strings is known as concatenation: given two strings, chain them together to make a new string. For example, consider the following Java program fragment: String a, b, c; a = "Hello,"; b = " Bob"; c = a + b; The first statement declares three variables to be of type String.
Similar questions