fork download
  1. import java.io._
  2. object Main
  3. {
  4. def main(args: Array[String])
  5. {
  6. var a = new BufferedReader(new InputStreamReader(System.in));
  7. var b = new BufferedReader(new InputStreamReader(System.in));
  8.  
  9. if(a>b)
  10. println(a+" is greater");
  11. println(b+" is greater");
  12. }
  13. }
  14.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.scala:9: error: value > is not a member of java.io.BufferedReader
		if(a>b)
                   ^
one error found
stdout
Standard output is empty