The general answer to your (general) question is: all airplanes can do that. With every air plane you can accelerate to maximum speed pull the stick until you reach 90°.
The problem is that not all planes will be able to recover safely from that maneuver. Most planes will not maintain enough speed to continue the flight in a controlled manor. That's why the flight management software of modern Airliners will prevent that from happening.
On the other hand there are quite a lot planes out the able to do acrobatics like this. They have specially designed aerodynamic behavior and, if powered, mass/thrust ratio. The powered versions also need special engines that keep running at zero or negative G.