Don't like ads? PRO users don't see any ads ;-)
Guest

timeTravel

By: a guest on Apr 13th, 2012  |  syntax: Java  |  size: 0.65 KB  |  hits: 194  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. public class timeTravel {
  2.         x = 1.21; // 1.21GW or 1.21X10^9
  3.  
  4.         function timeTravel(double x) {
  5.                 if (x=1.21) {
  6.                         if (fluxCapacitor == true) {
  7.                                 whatDate(date);
  8.                         }
  9.                 }
  10.         }
  11.  
  12.         function whatDate(String date) {
  13.                 System.out.print("Enter date: ");
  14.                 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
  15.                 String date = null;
  16.  
  17.                 try {
  18.                         date = br.readLine();
  19.                 }
  20.                 catch {
  21.                         System.out.println("Something went terribly wrong!");
  22.                         whatDate();
  23.                 }
  24.  
  25.                 if (timeCircuits==true) {
  26.                         //timeCircuits(date); method to be written in 2014
  27.                 }
  28.                 else {
  29.                         System.out.println("Time Circuits Not Powered On: ");
  30.                 }
  31.  
  32.         }
  33. }