1: \begin{abstract}
2: We study the second bounded cohomology of
3: an amalgamated free product of groups, and an HNN extension of a group.
4: As an application, we have a group with
5: infinitely many ends has infinite dimensional second bounded cohomology.
6: \end{abstract}
7: