Computer Science, asked by jmh983854, 4 months ago

The string values cannot be multiplied together.
True
False​

Answers

Answered by mahakincsem
1

String values cannot be multiplied is False

Can we multiply strings?

Yes, we can multiply strings in Java but there is a certain method to do it.

Use replace

This method uses two arguments;

  • The first one is the string that we want to replace.
  • The second one is the string that will actually replace.
  • The syntax for the function is "replace ( )"

There are some other methods too that you can use to multiply strings in Jaza.

Similar questions