fork download
  1. object Main
  2. {
  3. def main(args: Array[String])
  4. {
  5. int a=10,b=5;
  6. if(a>b)
  7. println(a+" is greater");
  8. println(b+" is greater");
  9. }
  10. }
  11.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.scala:5: error: ';' expected but ',' found.
		int a=10,b=5;
                        ^
one error found
stdout
Standard output is empty