What is the output and why?
<p>What would the output be of these two statements. I am having trouble understanding how this works. I would say for number 1, b = 33. This is it says a=a+1 so therefor a = 33. b is equal to a, so b must also be 33? For the second one I would say b = delmar. Sort of confused, would appreciate some help, thanks.</p>

<p>1:</p>

<pre><code>int a;
int b;
a = 32;
b = a;
a = a + 1;
System.out.println(b);
</code></pre>

<p>2:</p>

<pre><code>Person a;
Person b;
a = new Person("Everett");
b = a;
a.changeName("Delmar");
System.out.println(b.getName());
</code></pre>
