Ċ @ file : Import (" import - common . main . k ts ") Ċ @ file : Import (" import - middle . main . k ts ") Ċ Ċ shared Var Ġ= Ġshared Var Ġ+ Ġ 1 Ċ Ċ class ĠCapt uring Class 1 Ġ{ ĊĠĠĠ Ġval Ġvalue Ġ= Ġshared Var Ċ } Ċ Ċ class ĠCapt uring Class 2 Ġ{ ĊĠĠĠ Ġfun Ġf () Ġ= ĠCapt uring Class 1 (). value Ċ } Ċ Ċ println ("${ Shared Object . greeting } Ġ${ from . msg } Ġmain ") Ċ println (" shared Var Ġ== Ġ${ Capt uring Class 2 (). f () }") Ċ