>> Hi, I'm Tenki.
>> Hi, I'm Peter.
>> Hi, I'm Joe.
>> All right.
So let's go ahead and get started.
So, I guess we can all agree.
So location one is going to create a new SimpleLocation with those values, and
location two is going to create another SimpleLocation with those values as well.
>> And we're talking about objects right here?
>> Yeah, so we're gonna have two different objects, location one and location two.
And what I got stuck at was when location one equals location two.
So what I was thinking was that the values inside loc2
are actually going to copy over into loc1.
>> Oh, like a whole new object?
>> Well, not exactly a whole new object, but just the values of the latitude and
the longitude into loc1.
So, currently.
>> So it would look like rewrite the object.
>> Yeah, yeah, so currently loc1 has 39.9.
For the latitude.
And well I was thinking that location two's latitude,
55.8, would overwrite that.
Am I right or?
>> I think those are like two objects right?
Like they're separate.
So I think the third eye is just change of reference here.
So it won't like overwrite like the every member variable here.
>> So rewrite the arrow?
Where location one is pointing?
>> Right.
>> So location one is now going to reference to the same object that location
two is referencing.
>> You just follow the arrow.
>> So that means that location one's values do change, but
it's just because it's referencing a new object.
>> Correct. >> Yeah.