title: how to use a non static variable of a class ( let A) in another class ( let B). Here , cannot create a instance of A in B
body: <p>I want to use a variable of one class (let it be A) in another class (let it be B), but I cannot create an instance for the first class A in class B and should not use static keyword in class A</p>