Computer Science, asked by wassii, 11 months ago

we can perform operations like subtraction. multiplication, or division on a text string., true or false​

Answers

Answered by ItsSTRK
7

Answer:

I think the is answer is true.

Answered by hotelcalifornia
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