In Demailly's icm2006 p21, there is a statement:
If $X$ is the surface obtained by blowing-up $\mathbb P^2$ in one point, then the exceptional divisor $E ≃ \mathbb P^1$ has a cohomology class {$\alpha$} such that $\int_E\alpha = E^2 = −1$.
Can someone provide more details about what happens in $\int_E\alpha$? If I'm ritht, $E$ can be treated as a Riemann sphere, and the cohomology class $\alpha$ can be represented by a (1,1) form, so $\int_E\alpha$ can be seen as an integral of a (1,1) form over a sphere, but why it should be $-1$? And is there a canonical way to construct $\alpha$? Any comments or references are welcome!