Frage im Vorstellungsgespräch bei Global Payments

What is the difference between a String and Stringbuffer? What is an API?