//demo/package.scala
package object demo {
val key = 1
def m01(str:String) = println(str)
implicit def m02(num:Int):String = num.toString
}
package demo
object Test {
def main(args: Array[String]): Unit = {
println(key)
m01("a")
m01(2)
}
}