object Test { def main(args: Array[String]): Unit = { val j = new J_2() println(j.bar1()) println(j.bar2()) println(j.bar3()) } }