Access another class's public variable in constructor
<p>I have class C1 and class C2. 
C1 has a public boolean variable b1. </p>

<p>The value of b1 is set in C1 and then I create a object of Class C2 in C1. 
ie in C1 I have : </p>

<pre><code>b1 = true; 
C2 c2 = new C2(); 
</code></pre>

<p>Now in constructor of C2 , I want to make a decision based on the value of b1. 
How can I access the value of b1 (which is a variable of Class C1) in the constructor of C2 ? 
The constructor of C2 cannot have any arguements. </p>

<p>Thanks </p>
