I'm quite new at programming in Java and I've encountered something I don't really understand:

```
if (Object.getSomething() != null) {
        Long Size= null != Object.getSomething().getSomething2()
            ? Object.Something().getSomething2() : null;

```

I've been looking for the answer but I can't understand this way of defining a new variable, I mean, the '?' and the ': null' are the things I can't understand.