1 2 3 4 5 6 7
object bob extends Application { var name = "Bob" } object Test extends App { assert(bob.name == "Bob") }