Question: Currently developing an app including `google maps`, I'm willing to make it work for China as well.

I know the situation in China evolved a bit during the last years. So I would like to know: is it possible to use google maps for an android app in China?

If I attempt to use it as it is directly, the map remains blank, taking probably too long to load or being blocked by the chinese firewall. And my phone has the google services, which is not the case of many other phones.

However, a version of google maps exists in China. See this link: <http://www.google.cn/maps?hl=en>

So as a part of google is not blocked, would it be possible to load the data of the google maps API for android from the chinese server when the user himself is in China or doesn't have the google services or a VPN?

Answer: 
> 
> Shouldn't both return false?
> 
> 
> 

The line

```
x += 0;

```

is the same as

```
x = Integer.valueOf(x.intValue() + 0);

```

so you see it uses boxing and unboxing to complete the operations.

---

The second example only uses boxing so it works as expected.

In the first example, you explicitly avoid boxing with 

```
Integer x = new Integer(0);

```

This forces it to create a new object which is different to the boxed object.

If you do

```
Integer x = Integer.valueOf(0);

```

it will behave the same as the second example.
no, because the Integer in the range of `-128 - 127` are getting cached. In your first example you are explicity creating a new Integer, despite the fact that each Integer in the range of `-128 - 127` would refer to the same object.

You can notify this if you add something in your first example.
Notify that this will only work in the `Integer` range of `-128 - 127`

```
Integer x = new Integer(0), y;
Integer z = 0; // refers to the cached value.
y=x;
x+=0;
System.out.println(x==z); // This will now print true, since x+=0 will return the cached Integer.

```

Your second example wont work anymore aswell if you would change the value `x` to something different, for example `360`