摘要:
// divideByZero.jvaclass DivideByZero{ public static void main (String args[]) { System.out.println(1.0 / 0.0); System.out.println(-1.0 / 0.0); System.out.println(0.0 / 0.0); System.out.println(1 ... 阅读全文
摘要:
//Exchange.java class Exchange{ public static void main (String args[]) { int num1 = 10, num2 = 20, temp; //perform a traditional exchange. this requires the use of a //temporary variable. any dat... 阅读全文