we can perform operations like subtraction. multiplication, or division on a text string., true or false
Answers
Answered by
7
Answer:
I think the is answer is true.
Answered by
2
Answer:
False
Explanation:
Addition, subtraction multiplication and division are arithmetic operations. A string accepts only addition operation which is taken as an concatenation.
Eg.
String s1 = “first and”
String s2 = “second”
Print S1 + s2
The output will be “first and second”. Other operations like subtraction, multiplication and division which is not possible / invalid. Same way a string and other type like integer cannot be concatenated.
Eg.
string s1 = “first”;
int i = 1
Print s1 + i;
Similar questions