Computer Science, asked by shivarthdixit3378, 8 months ago

Differentiate between the function of '+' operator when used with integer and string values.

Attachments:

Answers

Answered by mohakdave6
6

Answer:

int x = 5+4;

System.out.println(x);

Output : 9

int y = "12" + "11";

System.out.println(y);

Output: 1211

Mark me brainliest and follow me

Similar questions