关于addNotify? 它说是创造一个同位体??哈子是同位体???谢谢!!! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 // homework Ch9 of Liuke, //PSU ID: 990070826//IIIST ID: 109import java.io.*;public class DeCode { public static void main(String[] args) { BufferedReader in = null; PrintWriter out = null; try { if (args[0] != null) { in = new BufferedReader(new FileReader(args[0])); out = new PrintWriter(new BufferedWriter(new FileWriter( "LIUKE.txt"))); int t; while ((t = in.read()) != -1) { t = t ^ 6; out.print((char) t); System.out.print((char) t); } } else { System.out.println("no files to cipher"); } } catch (FileNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } finally { try { if (in != null) { in.close(); } if (out != null) { out.close(); } } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } }} // homework Ch9 of Liuke, //PSU ID: 990070826//IIIST ID: 109import java.io.*;public class Cipher { public static void main(String[] args) { BufferedReader in = null; PrintWriter out = null; try { if (args[0] != null) { in = new BufferedReader(new FileReader(args[0])); out = new PrintWriter(new BufferedWriter(new FileWriter( "cipher.txt"))); int t; while ((t = in.read()) != -1) { t = t ^ 6; out.print((char) t); System.out.print((char) t); } } else { System.out.println("no files to cipher"); } } catch (FileNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } finally { try { if (in != null) { in.close(); } if (out != null) { out.close(); } } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } }} 怎么按顺序发牌给两个人啊? http请求连接中获得OutputStream出现异常!!!(急) 急~~~~~~~~~~~~~~~~~~~~~~~~ replaceAll问题 怎么去除一个字符串中的一个子串 Java中取"yyyy-mm-dd hh:mm:ss"型当前时间,如何取呢? 包内的类如何引用没有包的类 哪位哥哥能给一些原代码和程序,帮兄弟一忙。 java经典问题! 急急急急急急急急急急急 线程问题,究竟哪个线程在sleep???? 请教一个加JScrollPane的问题
// homework Ch9 of Liuke,
//PSU ID: 990070826
//IIIST ID: 109
import java.io.*;public class DeCode {
public static void main(String[] args) {
BufferedReader in = null;
PrintWriter out = null;
try {
if (args[0] != null) { in = new BufferedReader(new FileReader(args[0]));
out = new PrintWriter(new BufferedWriter(new FileWriter(
"LIUKE.txt")));
int t;
while ((t = in.read()) != -1) {
t = t ^ 6;
out.print((char) t);
System.out.print((char) t);
}
} else {
System.out.println("no files to cipher");
}
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} finally {
try {
if (in != null) {
in.close();
}
if (out != null) {
out.close();
}
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}}
//PSU ID: 990070826
//IIIST ID: 109
import java.io.*;public class Cipher {
public static void main(String[] args) {
BufferedReader in = null;
PrintWriter out = null;
try {
if (args[0] != null) { in = new BufferedReader(new FileReader(args[0]));
out = new PrintWriter(new BufferedWriter(new FileWriter(
"cipher.txt")));
int t;
while ((t = in.read()) != -1) {
t = t ^ 6;
out.print((char) t);
System.out.print((char) t);
}
} else {
System.out.println("no files to cipher");
}
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} finally {
try {
if (in != null) {
in.close();
}
if (out != null) {
out.close();
}
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}}