fork download
  1. def foo(): Unit
  2. }
  3.  
  4.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
/opt/scala/bin/scalac: line 50: /dev/null: Permission denied
Main.scala:5: error: class B needs to be abstract, since method foo in class A of type ()Unit is not defined
class B extends A
      ^
one error found
spoj: The program compiled successfully, but Main.class was not found.
      Class Main should contain method: def main(args: Array[String]).
stdout
Standard output is empty