You can compile Scala into a .class file (e.g. “scalac ./foo.scala”) and run methods from your Java grading program.
This might be useful reference: How do you call Scala objects from Java?
solved Write Java Program to grade Scala Homeworks
You can compile Scala into a .class file (e.g. “scalac ./foo.scala”) and run methods from your Java grading program.
This might be useful reference: How do you call Scala objects from Java?
solved Write Java Program to grade Scala Homeworks