class b
a a
public b
a = new a

a.set

class c
a a
public c
a = new a

a.get

みたいな感じですかね?
この場合ってbとcでそれぞれ作ったaのインスタンスって別物扱いになりません?