FaceMomentsDatabase类使用__________存储应用程序中账户的数据,其中键为账户名(name),值为FaceMomentsProfile类实例化后的对象profile。
查看答案
算数表达式 5.0 / 4 - 4 / 5 的结果是?
逻辑表达式 7 < 9 - 5 && 3 % 0 == 3 的返回的结果是。
import acm.program.*;public class Problem extends ConsoleProgram {public void run() {int num1 = 2;int num2 = 13;println("The 1st number is: " + Mystery(num1, 6));println("The 2nd number is: " + Mystery(num2 % 5, 1 + num1 * 2));}private int Mystery(int num1, int num2) {num1 = Unknown(num1, num2);num2 = Unknown(num2, num1);return (num2);}private int Unknown(int num1, int num2) {int num3 = num1 + num2;num2 += num3 * 2;return (num2);}}以上程序输出的两行结果分别是: