Write a Java program(name it IO.java) to do the following tasks:
1) Prompts the user to input two integers.
2) Create a text file named "sum.txt" at the current dictionary.
3) Compute and write the sum of the two integers in the "sum.txt" file.
What is the output of the following program?程序的输出是什么
public class Test {
public static void main(String[] args) {
int a = 11; int b = 8;
int temp = b; b = a; a = temp;
System.out.println( a );
System.out.println( b );
}
}
最后一题了 求答案 a=? b=?
请问能用eclipse调试过成功了吗 我考试用eclipse这个软件的
追答肯定能啊,放心吧
追问能留下个QQ吗 谢谢啦