System.out.println("13" + 5 + 3);
时间: 2024-06-06 09:08:01 浏览: 63
idea输入sout无法自动补全System.out.println()的问题
5星 · 资源好评率100%
This code will result in a compilation error because there are no commas separating the three arguments in the println method. It should be written as:
System.out.println("13" + 5 + 3);
This will output the string "135" because the + operator is used for concatenation when at least one operand is a string.
阅读全文