有人可以解释一下我是如何得到这个答案的:
三乘二 = 6
代码:
public class Params1 {
public static void main(String[] args) {
String one = "two";
String two = "three";
String three = "1";
int number = 20;
sentence(one, two, 3);
}
public static void sentence(String three, String one, int number) {
String str1 = one + " times " + three + " = " + (number * 2);
}
}