Paste Search Dynamic
Recent pastes
reader line
  1. importPackage(java.io);
  2. importPackage(java.lang);
  3.  
  4. var reader = new bufferedreader( new inputstreamreader(system['in']) );
  5.  
  6. while(true) {
  7.         var line = reader.readLine();
  8.         if(line == null || line == "42") {
  9.                 break;
  10.         } else {
  11.                 system.out.println(line);
  12.         }
  13. }
Parsed in 0.014 seconds