Plus sign is used to which numbers and strings ?
Answers
Answered by
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
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