Advertisement
Guest User

timeTravel

a guest
Apr 13th, 2012
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.65 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement