How can I dynamically import packages/classes in scala?
Example: can I have a code like this or similar?
object Test { def main(args: Array[String]) { val pack = "java.util.List" import pack } }
Aucun commentaire:
Enregistrer un commentaire