Computer Science, asked by tanishasingh1828, 2 months ago

Plus sign is used to which numbers and strings ?​

Answers

Answered by nehaliganvit3
0

Explanation:

In Java, the symbol + can be used to add numbers or to concatenate strings. This exercise illustrates both uses. When using a string literal (a sequence of characters enclosed in double quotation marks) in Java the complete string must fit on one line.

Answered by gulnazfatma093
1

Explanation:

In Java, the symbol + can be used to add numbers or to concatenate strings.

In python,The + (plus sign) is actually an overloaded operator. It works for addition like when you sum two integers ( 1+1 ) but it also works for strings.

Similar questions