如何在Java中连接两个字符串?
2022-08-31 14:04:52
我正在尝试在Java中连接字符串。为什么这不起作用?
public class StackOverflowTest {
public static void main(String args[]) {
int theNumber = 42;
System.out.println("Your number is " . theNumber . "!");
}
}